ArcGIS Runtime SDK for WPF - Library Reference
FeatureLayer Class Members
See Also  Fields  Properties  Methods  Events
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 AutoSave dependency property.  
public Fieldstatic (Shared in Visual Basic)ClientCertificatePropertyIdentifies the ClientCertificate dependency property.  
public Fieldstatic (Shared in Visual Basic)CredentialsPropertyIdentifies the Credentials dependency property.  
public Fieldstatic (Shared in Visual Basic)EditUserNamePropertyIdentifies the EditUserName 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)TokenPropertyIdentifies the Token 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 PropertyAttributionTemplateGets 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 PropertyClientCertificateGets or sets the client certificate that is sent to the host and used to authenticate the request.  
public PropertyClustererGets or sets the clusterer that is applied to the features. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyCredentialsGets or sets the network credentials that are sent to the host and used to authenticate the request.  
public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
public PropertyDisableClientCachingIf true, adds a timestamp parameter ("_ts") to the request to prevent it from being loaded from the browser's cache.  
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 PropertyEditUserNameGets or sets the edit user name which is used when the editor tracking for this layer is on.  
public PropertyEffectGets or sets the pixel shader effect to use for rendering this Layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyExceededTransferLimitGets a value indicating whether the number of records returned has exceeded transfer limit (max record count)  
public PropertyFullExtentOverridden. Gets the minimum enclosing envelope of all the features in the layer.  
public PropertyGdbVersionGets or sets the geodatabase version on which the query will be performed. This property is only applicable to feature services only.  
public PropertyGeometryThe 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 PropertyGraphicsGets 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 PropertyHasEditsWhether Undo can be done.  
public PropertyIDGets 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 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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyIsInitializedReturns true if the layer has been initialized. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyIsReadOnlyWhether 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 PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
public PropertyLayerInfoGets detailed information (via the FeatureLayerInfo object) about the FeatureLayer.  
public PropertyMapTipGets or sets the MapTip displayed when the mouse hovers on a Graphic in the GraphicsLayer. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyMaxAllowableOffsetGets 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 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 PropertyModeGets or sets the selection mode. Default is Snapshot mode. If Where is specified, mode becomes Snapshot.  
public PropertyObjectIDsObject 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 PropertyOpacityGets or sets the layer opacity (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyOutFieldsAttribute fields to include in the FeatureSet.  
public PropertyPreferredQueryResponseFormatThe data encoding format to request from the server when querying the feature service. The default value is ESRI.ArcGIS.Client.Tasks.TaskResponseFormat.Json. Some services do not support AMF. In these cases JSON will be requested regardless of the value of this property.  
public PropertyProjectionServiceGets 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 PropertyProxyUrlGets or sets the URL to proxy the request through.  
public PropertyRendererGets 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 PropertyRenderingModeThe Rendering mode to use when rendering in accelerated display. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyReturnMIf true, M values will be included in the results if the features have M values. Otherwise M values are not returned. The default is false.  
public PropertyReturnZIf true, Z values will be included in the results if the features have Z values. Otherwise Z values are not returned. The default is false.  
public PropertySelectedGraphicsThe list of selected graphics. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertySelectionColorGets or sets the selection color. This property only affects FeatureLayer and when GraphicsLayer is an accelerated layer. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertySelectionCountThe selection count (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public PropertyShowLegendGets or sets a value indicating whether to show legend. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertySourceGets or sets the layer source if querying a dynamic layer.  
public PropertySpatialReferenceGets the default spatial reference of the layer. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyTextShorthand 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 PropertyTimeExtentGets the valid time extent for the service, or null of this service does not support time based queries.  
public PropertyTimeOptionGets or sets the time option if querying a dynamic layer.  
public PropertyTokenToken for accessing a secure ArcGIS task.  
public PropertyUrlGets or sets the URL of the REST MapService layer to query.  
public PropertyUseAdvancedSymbologyGets or sets a value indicating whether the FeatureLayer should request the advanced JSON representation of the symbology. This property can only be set before the layer is initialized. Since this symbology is only supported by the accelerated display, before setting this property to true you should determine whether Map.UseAcceleratedDisplay is set to true or that the FeatureLayer is contained within an AcceleratedDisplayLayers GroupLayer.  
public PropertyValidateEditsWhether 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 PropertyVersionGets the version of ArcGIS Server where the map service is published.  
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)
public PropertyWhereA 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 MethodClearSelectionClears the selection. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
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 MethodDeleteAttachmentOverloaded. Deletes one or more attachments.  
public MethodEquals (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. Note the default value for maxHits is 1, returning the topmost graphic only. (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 MethodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
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 MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
public MethodInitializeOverridden. Initializes the FeatureLayer by which invokes the FeatureLayer.Initialized Event.  
public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
public MethodIsAddAttachmentAllowedDetermines whether add attachment to specified graphic is allowed by taking into account the ownership-based access control.  
public MethodIsDeleteAllowedDetermines whether the specified graphic can be deleted by taking into account the ownership-based access control.  
public MethodIsDeleteAttachmentAllowedDetermines whether delete attachment to specified graphic is allowed by taking into account the ownership-based access control.  
public MethodIsGeometryUpdateAllowedDetermines whether the specified graphic's geometry can be updated by taking into account the ownership-based access control.  
public MethodIsUpdateAllowedDetermines whether the specified graphic can be updated by taking into account the ownership-based access control.  
public MethodQueryAttachmentInfosOverloaded. Queries for a list of attachments for a specific graphic.  
public MethodQueryLegendInfosOverridden. Queries 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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public MethodSaveEditsSave edits to the layer. Only required if AutoSave is false.  
public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
public MethodUndoEditsOverloaded. Undoes all edits tracked on the FeatureLayer since last SaveEdits or Update.  
public MethodUpdatePerforms a new refreshed query against the REST endpoint and refreshes the graphics layer.  
public MethodUpdateAttachmentOverloaded. Updates the specified attachment of a feature.  
Top

Protected Methods

 NameDescription
protected MethodCancelStops loading of any pending images (Inherited from ESRI.ArcGIS.Client.Layer)
protected MethodOnGraphicsSourceChangedOverridden. Called 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. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
protected MethodOnLoadedOccurs when this layer is rendered. (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)
protected MethodOnUnloadedOccurs when this layer is no longer connected to the main object tree. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
Top

Public Events

 NameDescription
public EventBeginSaveEditsEvent fired when edits are about to be submitted.  
public EventEndSaveEditsEvent fired when edits are complete.  
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) (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 EventPropertyChangedProperty changed event (Inherited from ESRI.ArcGIS.Client.Layer)
public EventSaveEditsFailedOccurs when save edits fails.  
public EventUpdateCompletedOccurs when the layer has completed requesting features from the service.  
public EventUpdateFailedOccurs if the layer fails to request feature data from the feature service.  
Top

See Also

© ESRI, Inc. All Rights Reserved.