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


The following tables list the members exposed by FeatureLayer.

Public Constructors

 NameDescription
public ConstructorFeatureLayer ConstructorInitializes a new instance of the FeatureLayer class.  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)AutoSavePropertyIdentifies the FeatureLayer.AutoSave dependency property.  
public Fieldstatic (Shared in Visual Basic)IgnoreServiceScaleRangePropertyIdentifies the IgnoreServiceScaleRange dependency property.  
public Fieldstatic (Shared in Visual Basic)ModePropertyIdentifies the Mode dependency property.  
public Fieldstatic (Shared in Visual Basic)OnDemandCacheSizePropertyIdentifies the OnDemandCacheSize dependency property.  
public Fieldstatic (Shared in Visual Basic)SelectionColorPropertyIdentifies the SelectionColor dependency property.  
public Fieldstatic (Shared in Visual Basic)UrlPropertyIdentifies the Url dependency property.  
public Fieldstatic (Shared in Visual Basic)ValidateEditsPropertyIdentifies the ValidateEdits dependency property.  
Top

Public Properties

 NameDescription
public PropertyAttributionTemplate Gets the attribution template of the layer.  
public PropertyAutoSaveGets or sets the whether edits to the layer's graphics collection are auto-submitted to the service. Default is true.  
public PropertyClusterer Gets or sets the clusterer that is applied to the features. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyColor

Note: This API is now obsolete. Please use a SimpleRenderer on the FeatureLayer.Renderer.

Gets or sets the color to render symbols with. Use a custom renderer for extended symbology control.

 
public PropertyCredentials Gets or sets the network credentials that are sent to the host and used to authenticate the request.  
public PropertyDependencyObjectType (Inherited from System.Windows.DependencyObject)
public PropertyDisableClientCaching If true, adds a timestamp parameter ("_ts") to the request to prevent it from being loaded from the browser's cache.  
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 PropertyFeatureSymbol

Note: This API is now obsolete. Please use a SimpleRenderer on the FeatureLayer.Renderer.

Gets or sets the default feature symbol.

 
public PropertyFullExtent The full extent of the layer (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyGeometry The geometry to apply to the spatial filter. The spatial relationship as specified by spatialRelationship is applied to this geometry while performing the query. The valid geometry types are Envelope, Point, Multipoint, Polyline, or Polygon.  
public PropertyGraphics Gets or sets the graphics collection. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyGraphicsSourceGets or sets a collection used to contain the graphics of the GraphicsLayer. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyHasEdits Whether Undo can be done.  
public PropertyID Gets or sets the layer ID (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIgnoreServiceScaleRangeIf true, the scale range set at the service level is ignored.  
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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyIsInitialized Returns true if the layer has been initialized. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsReadOnly Whether the feature layer is read only. If False, changes made to the layer's graphic collection can be applied to the service by explicitly calling SubmitEdits or by setting AutoSave to True.  
public PropertyIsSealed (Inherited from System.Windows.DependencyObject)
public PropertyLayerInfo Information about the feature layer. If null, can be obtained by calling FeatureLayerInfo.Get and listening to its Ready event. When the Ready event is fired, the LayerInfo property can be set to the FeatureLayerInfo that is now ready for use.  
public PropertyMapTipGets or sets the MapTip displayed when the mouse hovers on a Graphic in the GraphicsLayer. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyMaxAllowableOffset Gets or sets the max allowable offset. This option can be used to specify the maximum allowable offset to be used for generalizing geometries returned by the query operation. Editable FeatureLayer ignores this property.  
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 PropertyMode Gets or sets the selection mode. Default is Snapshot mode. If Where is specified, mode becomes Snapshot.  
public PropertyObjectIDs Object ids to query for. If object ids are specified, other query parameters like Where are ignored.  
public PropertyOnDemandCacheSizeGets or sets the number of features held in cache beyond what is in the current extent when Mode is FeatureLayer.QueryMode.OnDemand.  
public PropertyOpacity Gets or sets the layer opacity (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyOutFields Attribute fields to include in the FeatureSet.  
public PropertyProjectionService Gets or sets the projection service used for projecting geometry in the data source to the map's spatial reference. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyProxyUrl Gets or sets the URL to proxy the request through.  
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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyRendererTakesPrecedenceIf false, the graphic symbol takes precedence over the renderer. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertySelectedGraphics The list of selected graphics. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertySelectionColor Gets or sets the selection color.  
public PropertySelectionCount The selection count (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertySpatialReference Gets the default spatial reference of the layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyText Shorthand for a literal search text on the display field, equivalent to: where <displayField> like '%%'. The text is case sensitive. This parameter is ignored if the where parameter is specified. You can determine what the display field is for a layer using the ArcGIS Services Directory.  
public PropertyTimeExtent Gets the valid time extent for the service, or null of this service does not support time based queries.  
public PropertyToken Token for accessing a secure ArcGIS task.  
public PropertyUrl Gets or sets the URL of the REST MapService layer to query.  
public PropertyValidateEdits Whether edits are validated. If true, exceptions will be thrown on attribute value changes if value does not match field type or if it does not fall into the field domain.  
public PropertyVersion Gets the version of ArcGIS Server where the map service is published.  
public PropertyVisible Gets or sets the visibility of the layer (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyWhere A where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed, for example: where=POP2000 > 350000 .  
Top

Public Methods

 NameDescription
public MethodAddAttachmentOverloaded.  Adds an attachment to a feature.  
public MethodClearGraphics Clears the graphics. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public MethodClearValueOverloaded.  (Inherited from System.Windows.DependencyObject)
public MethodCoerceValue (Inherited from System.Windows.DependencyObject)
public MethodDeleteAttachmentOverloaded.  Deletes one or more attachments.  
public MethodFindGraphicsInHostCoordinatesOverloaded. Retrieves a set of GraphicsLayer.Graphics that are located within a specified System.Windows.Point of the applications coordinate space. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public Methodstatic (Shared in Visual Basic)FromJsonInitializes a new instance of the FeatureLayer class from a JSON string.  
public MethodGetEnumerator Returns an enumerator that iterates through the collection. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public MethodGetLocalValueEnumerator (Inherited from System.Windows.DependencyObject)
public MethodGetValue (Inherited from System.Windows.DependencyObject)
public MethodInitializeOverridden.  Initializes the resource.  
public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
public MethodQueryAttachmentInfosOverloaded.  Queries for a list of attachments for a specific graphic.  
public MethodQueryLegendInfosOverridden.  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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public MethodSaveEdits Save edits to the layer. Only required if AutoSave is false.  
public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
public MethodSetValueOverloaded.  (Inherited from System.Windows.DependencyObject)
public MethodUndoEditsOverloaded. Undoes all edits tracked on the FeatureLayer since last SaveEdits or Update.  
public MethodUpdate Performs a new refreshed query against the REST endpoint and refreshes the graphics layer.  
Top

Protected Methods

 NameDescription
protected MethodCancel Stops loading of any pending images (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnGraphicsSourceChangedOverridden.  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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
protected MethodOnMapChangedOverridden.  When map changes, unhook ExtentChanged event handler and hook up with the new map. Also called update if initialization has already occurred.  
protected MethodOnPropertyChangedOverloaded. Raises the Layer.PropertyChanged event. (Inherited from ESRI.ArcGIS.Client.Layer)
Top

Public Events

 NameDescription
public EventBeginSaveEdits Event fired when edits are about to be submitted.  
public EventEndSaveEdits Event fired when edits are complete.  
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) (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public EventMouseEnterOccurs when the mouse (or a stylus) enters the bounding area of a System.Windows.UIElement. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public EventMouseLeaveOccurs when the mouse (or the stylus) leaves the bounding area of a System.Windows.UIElement. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
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). (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public EventMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over a Graphic. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public EventPropertyChanged Property changed event (Inherited from ESRI.ArcGIS.Client.Layer)
public EventSaveEditsFailed Occurs when save edits fails.  
public EventUpdateCompleted Occurs when the layer has completed requesting features from the service.  
public EventUpdateFailed Occurs if the layer fails to request feature data from the feature service.  
Top

See Also

© ESRI, Inc. All Rights Reserved.