ArcGIS Runtime SDK for WPF - Library Reference
GraphicsLayer Class Members
See Also  Fields  Properties  Methods  Events
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 Graphics dependency property.  
public Fieldstatic (Shared in Visual Basic)GraphicsSourcePropertyIdentifies the GraphicsSource dependency property.  
public Fieldstatic (Shared in Visual Basic)MapTipAutoPositionPropertyIf set to true the MapTip will attempt to be place within the map surface to prevent clipping of the MapTip.  
public Fieldstatic (Shared in Visual Basic)MapTipHideDelayPropertyIdentifies the MapTipHideDelay attached dependency property.  
public Fieldstatic (Shared in Visual Basic)MapTipHorizontalOffsetPropertyIdentifies the MapTipHorizontalOffset attached dependency property.  
public Fieldstatic (Shared in Visual Basic)MapTipVerticalOffsetPropertyIdentifies the MapTipVerticalOffset attached dependency property.  
public Fieldstatic (Shared in Visual Basic)ProjectionServicePropertyIdentifies the ProjectionService dependency property.  
public Fieldstatic (Shared in Visual Basic)SelectionColorPropertyIdentifies the SelectionColor dependency property. This property only affects FeatureLayer and when GraphicsLayer is an accelerated layer.  
Top

Public Properties

 NameDescription
public PropertyClustererGets or sets the clusterer that is applied to the features.  
public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
public PropertyDisplayNameGets or sets the display name. Display name is used in printing and legend control. (Inherited from ESRI.ArcGIS.Client.Layer)
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 PropertyGraphicsGets or sets the graphics collection.  
public PropertyGraphicsSourceGets or sets a collection used to contain the graphics of the GraphicsLayer.  
public PropertyIDGets or sets the layer ID (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyInitializationFailureGets 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 PropertyIsInitializedReturns true if the layer has been initialized. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
public PropertyMapTipGets or sets the MapTip displayed when the mouse hovers on a Graphic in the GraphicsLayer.  
public PropertyMaximumResolutionGets or sets the maximum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyMinimumResolutionGets or sets the minimum resolution (map units per pixel) where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyOpacityGets or sets the layer opacity (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyProjectionServiceGets or sets the projection service used for projecting geometry in the data source to the map's spatial reference.  
public PropertyRendererGets 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 PropertyRenderingModeThe Rendering mode to use when rendering in accelerated display.  
public PropertySelectedGraphicsThe list of selected graphics.  
public PropertySelectionColorGets or sets the selection color. This property only affects FeatureLayer and when GraphicsLayer is an accelerated layer.  
public PropertySelectionCountThe selection count  
public PropertyShowLegendGets or sets a value indicating whether to show legend. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertySpatialReferenceGets the default spatial reference of the layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyVisibleGets or sets the visibility of the layer (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyVisibleTimeExtentGets or sets the time extent where this layer is visible. (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Methods

 NameDescription
public MethodClearSelectionClears the selection.  
public MethodClearValueOverloaded. Clears the local value of a property. The property to be cleared is specified by a System.Windows.DependencyProperty identifier. (Inherited from System.Windows.DependencyObject)
public MethodCoerceValueCoerces the value of the specified dependency property. This is accomplished by invoking any System.Windows.CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodEquals (Inherited from System.Windows.DependencyObject)
public MethodFindGraphicsInHostCoordinatesOverloaded. Retrieves a set of Graphics that are located within a specified System.Windows.Point of the applications coordinate space. Note the default value for maxHits is 1, returning the topmost graphic only.  
public Methodstatic (Shared in Visual Basic)FromGraphicsOverloaded. Create a graphics layer from a collection of graphics.  
public MethodGetEnumeratorReturns an enumerator that iterates through the collection.  
public MethodGetHashCodeGets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodGetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public Methodstatic (Shared in Visual Basic)GetMapTipAutoPositionGets whether or not auto positioning is being used on the placement of the map tip.  
public Methodstatic (Shared in Visual Basic)GetMapTipHideDelayGets the delay for the maptip before it hides after the mouse left the graphic  
public Methodstatic (Shared in Visual Basic)GetMapTipHorizontalOffsetGets the horizontal offset of a maptip relative to a graphic.  
public Methodstatic (Shared in Visual Basic)GetMapTipVerticalOffsetGets the vertical offset of a maptip relative to a graphic.  
public MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodInitializeInitializes the resource. (Inherited from ESRI.ArcGIS.Client.Layer)
public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
public MethodQueryLegendInfosQueries for the legend infos of the layer.  
public MethodReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject)
public MethodRefreshForces a full redraw of all graphic features.  
public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
public Methodstatic (Shared in Visual Basic)SetMapTipAutoPositionSets whether or not to use auto positioning on the placement of the map tip.  
public Methodstatic (Shared in Visual Basic)SetMapTipHideDelaySets the delay for the maptip before it hides after the mouse left the graphic  
public Methodstatic (Shared in Visual Basic)SetMapTipHorizontalOffsetSets the horizontal offset of a maptip relative to a graphic.  
public Methodstatic (Shared in Visual Basic)SetMapTipVerticalOffsetSets the vertical offset of a maptip relative to a graphic.  
public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
Top

Protected Methods

 NameDescription
protected MethodCancelStops loading of any pending images (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnGraphicsSourceChangedCalled when the GraphicsSource property changes.  
protected MethodOnLayerChangedNotifies the map that the layer has changed and requires a redraw. (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnLegendChangedCalled when the legend changes.  
protected MethodOnLoadedOverridden. Occurs when this layer is rendered.  
protected MethodOnMapChangedOverridden. Stop the maptipHideTimer when map changes.  
protected MethodOnPropertyChangedOverloaded. Raises the Layer.PropertyChanged event. (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnUnloadedOverridden. Occurs when this layer is no longer connected to the main object tree.  
Top

Public Events

 NameDescription
public EventInitializationFailedThis Event fires when a Layer has been initialized and has encountered a problem. (Inherited from ESRI.ArcGIS.Client.Layer)
public EventInitializedRaised when the layer has been initialized (Inherited from ESRI.ArcGIS.Client.Layer)
public EventLegendChangedOccurs 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 EventPropertyChangedProperty changed event (Inherited from ESRI.ArcGIS.Client.Layer)
Top

See Also

© ESRI, Inc. All Rights Reserved.