ESRI.ArcGIS.Mobile
GpsDisplay Class
Members  See Also  Send Feedback
ESRI.ArcGIS.Mobile.WPF Namespace : GpsDisplay Class

Base class for a control that represents the current location of a GPS connection (GpsConnection). This base class provides the logic needed to attach to the map control and GPS connection and automatically updates its position on the map control to reflect the current location of the GPS connection. To customize the appearance, create your new user control with a XAML definition (i.e., a visual representation) but derive your class from GpsDisplay instead of UserControl. After setting the GpsConnection and Map properties, the GpsDisplay base class will automatically reposition the control on the map control so it is centered on the GPS location.

Object Model



Syntax

Visual Basic (Declaration) 
Public MustInherit Class GpsDisplay 
   Inherits UserControl
   Implements IMapGraphicLayer 
C# 
public abstract class GpsDisplay : UserControl, IMapGraphicLayer  

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        System.Windows.Controls.UserControl
                           ESRI.ArcGIS.Mobile.WPF.GpsDisplay
                              ESRI.ArcGIS.Mobile.WPF.GpsDisplayControl

Requirements

Namespace: ESRI.ArcGIS.Mobile.WPF

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

Assembly: ESRI.ArcGIS.Mobile (in ESRI.ArcGIS.Mobile.dll)

See Also