ArcGIS API for Silverlight - 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)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)SelectionColorPropertyIdentifies the SelectionColor 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 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 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.DependencyObject)
public PropertyDisplayName Gets or sets the display name. Display name is used in printing and legend control. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertyEditUserName Gets 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 PropertyExceededTransferLimit Gets 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 PropertyGdbVersion Gets or sets the geodatabase version on which the query will be performed. This property is only applicable to feature services only.  
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 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 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 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 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 PropertyShowLegend Gets or sets a value indicating whether to show legend. (Inherited from ESRI.ArcGIS.Client.Layer)
public PropertySource Gets or sets the layer source if querying a dynamic layer.  
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 PropertyTimeOption Gets or sets the time option if querying a dynamic layer.  
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 PropertyVisibleTimeExtent Gets or sets the time extent where this layer is visible. (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 MethodClearSelection Clears the selection. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public MethodClearValue (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 MethodGetAnimationBaseValue (Inherited from System.Windows.DependencyObject)
public MethodGetEnumerator Returns an enumerator that iterates through the collection. (Inherited from ESRI.ArcGIS.Client.GraphicsLayer)
public MethodGetValue (Inherited from System.Windows.DependencyObject)
public MethodInitializeOverridden. Initializes the FeatureLayer by which invokes the FeatureLayer.Initialized Event.  
public MethodIsAddAttachmentAllowed Determines whether add attachment to specified graphic is allowed by taking into account the ownership-based access control.  
public MethodIsDeleteAllowed Determines whether the specified graphic can be deleted by taking into account the ownership-based access control.  
public MethodIsDeleteAttachmentAllowed Determines whether delete attachment to specified graphic is allowed by taking into account the ownership-based access control.  
public MethodIsGeometryUpdateAllowed Determines whether the specified graphic's geometry can be updated by taking into account the ownership-based access control.  
public MethodIsUpdateAllowed Determines 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 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 MethodSetValue (Inherited from System.Windows.DependencyObject)
public MethodToBitmapRenders the layer to a System.Windows.Media.Imaging.WriteableBitmap. (Inherited from ESRI.ArcGIS.Client.Layer)
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 MethodOnPropertyChanged (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 This Event fires when a Layer has been initialized and has 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.