ArcGIS API for WPF - Library Reference
GraphicsLayer Class Members
See Also  Fields  Properties  Methods  Events Send comments on this topic
ESRI.ArcGIS.Client Namespace : GraphicsLayer Class


The following tables list the members exposed by GraphicsLayer.

Public Constructors

 NameDescription
public ConstructorGraphicsLayer ConstructorInitializes a new instance of the GraphicsLayer class.  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)ClustererPropertyIdentifies the Clusterer dependency property.  
public Fieldstatic (Shared in Visual Basic)GraphicsPropertyIdentifies the GraphicsLayer.Graphics dependency property.  
public Fieldstatic (Shared in Visual Basic)GraphicsSourcePropertyIdentifies the GraphicsLayer.GraphicsSource dependency property.  
public Fieldstatic (Shared in Visual Basic)MapTipHideDelayProperty Identifies the MapTipHideDelay attached dependency property.  
public Fieldstatic (Shared in Visual Basic)MapTipHorizontalOffsetProperty Identifies the MapTipHorizontalOffset attached dependency property.  
public Fieldstatic (Shared in Visual Basic)MapTipVerticalOffsetProperty Identifies the MapTipVerticalOffset attached dependency property.  
public Fieldstatic (Shared in Visual Basic)ProjectionServicePropertyIdentifies the ProjectionService dependency property.  
Top

Public Properties

 NameDescription
public PropertyClusterer Gets or sets the clusterer that is applied to the features.  
public PropertyDependencyObjectType (Inherited from System.Windows.DependencyObject)
public PropertyDispatcher (Inherited from System.Windows.Threading.DispatcherObject)
public PropertyEffectGets or sets the pixel shader effect to use for rendering this Layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyFullExtentOverridden.  Gets the minimum enclosing envelope that all the features in the layer.  
public PropertyGraphics Gets or sets the graphics collection.  
public PropertyGraphicsSourceGets or sets a collection used to contain the graphics of the GraphicsLayer.  
public PropertyID Gets or sets the layer ID (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyInitializationFailure Gets or sets the initialization failure if the initialization failed. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsHitTestVisibleGets or sets whether the contained area of this GraphicsLayer can return true values for hit testing.  
public PropertyIsInitialized Returns true if the layer has been initialized. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsSealed (Inherited from System.Windows.DependencyObject)
public PropertyMapTipGets or sets the MapTip displayed when the mouse hovers on a Graphic in the GraphicsLayer.  
public PropertyMaximumResolution Gets or sets the maximum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyMinimumResolution Gets or sets the minimum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyOpacity Gets or sets the layer opacity (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyProjectionService Gets or sets the projection service used for projecting geometry in the data source to the map's spatial reference.  
public PropertyRenderer Gets or sets the renderer used for generating symbols. If a renderer is specified, any symbol set on the graphic will be ignored.  
public PropertyRendererTakesPrecedenceIf false, the graphic symbol takes precedence over the renderer.  
public PropertySelectedGraphics The list of selected graphics.  
public PropertySelectionCount The selection count  
public PropertySpatialReference Gets the default spatial reference of the layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyVisible Gets or sets the visibility of the layer (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Methods

 NameDescription
public MethodClearGraphics Clears the graphics.  
public MethodClearValueOverloaded.  (Inherited from System.Windows.DependencyObject)
public MethodCoerceValue (Inherited from System.Windows.DependencyObject)
public MethodFindGraphicsInHostCoordinatesOverloaded. Retrieves a set of GraphicsLayer.Graphics that are located within a specified System.Windows.Point of the applications coordinate space.  
public Methodstatic (Shared in Visual Basic)FromGraphicsOverloaded.  Create a graphics layer from a collection of graphics.  
public MethodGetEnumerator Returns an enumerator that iterates through the collection.  
public MethodGetLocalValueEnumerator (Inherited from System.Windows.DependencyObject)
public Methodstatic (Shared in Visual Basic)GetMapTipHideDelay Gets the delay for the maptip before it hides after the mouse left the graphic  
public Methodstatic (Shared in Visual Basic)GetMapTipHorizontalOffset Gets the horizontal offset of a maptip relative to a graphic.  
public Methodstatic (Shared in Visual Basic)GetMapTipVerticalOffset Gets the vertical offset of a maptip relative to a graphic.  
public MethodGetValue (Inherited from System.Windows.DependencyObject)
public MethodInitialize Initializes the resource. (Inherited from ESRI.ArcGIS.Client.Layer)
public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
public MethodQueryLegendInfos Queries for the legend infos of the layer.  
public MethodReadLocalValue (Inherited from System.Windows.DependencyObject)
public MethodRefresh Forces a full redraw of all graphic features.  
public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
public Methodstatic (Shared in Visual Basic)SetMapTipHideDelay Sets the delay for the maptip before it hides after the mouse left the graphic  
public Methodstatic (Shared in Visual Basic)SetMapTipHorizontalOffset Sets the horizontal offset of a maptip relative to a graphic.  
public Methodstatic (Shared in Visual Basic)SetMapTipVerticalOffset Sets the vertical offset of a maptip relative to a graphic.  
public MethodSetValueOverloaded.  (Inherited from System.Windows.DependencyObject)
Top

Protected Methods

 NameDescription
protected MethodCancel Stops loading of any pending images (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnGraphicsSourceChanged Called when the GraphicsSource property changes.  
protected MethodOnLayerChanged Notifies the map that the layer has changed and requires a redraw. (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnLegendChanged Called when the legend changes.  
protected MethodOnMapChangedOverridden.  Stop the maptipHideTimer when map changes.  
protected MethodOnPropertyChangedOverloaded. Raises the Layer.PropertyChanged event. (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Events

 NameDescription
public EventInitializationFailed Raised when the layer has been initialized and encountered a problem. (Inherited from ESRI.ArcGIS.Client.Layer)
public EventInitialized Raised when the layer has been initialized (Inherited from ESRI.ArcGIS.Client.Layer)
public EventLegendChanged Occurs when the legend of the layer changed (e.g. when the renderer changed)  
public EventMouseEnterOccurs when the mouse (or a stylus) enters the bounding area of a System.Windows.UIElement.  
public EventMouseLeaveOccurs when the mouse (or the stylus) leaves the bounding area of a System.Windows.UIElement.  
public EventMouseLeftButtonDownOccurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet PC) while the mouse pointer is over a Graphic.  
public EventMouseLeftButtonUpOccurs when the left mouse button is released (or the tip of the stylus is removed from the tablet PC) while the mouse (or the stylus) is over a Graphic.  
public EventMouseMoveOccurs when the coordinate position of the mouse (or stylus) changes while over a System.Windows.UIElement (or while a System.Windows.UIElement holds mouse capture).  
public EventMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over a Graphic.  
public EventMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over a Graphic. However, this event will only be raised if a caller marks the preceding System.Windows.UIElement.MouseRightButtonDown event as handled.  
public EventPropertyChanged Property changed event (Inherited from ESRI.ArcGIS.Client.Layer)
Top

See Also

© ESRI, Inc. All Rights Reserved.