ArcGIS Runtime SDK for WPF - Library Reference
LayerDefinition Class Members
See Also  Properties  Methods  Events
ESRI.ArcGIS.Client.WebMap Namespace : LayerDefinition Class


The following tables list the members exposed by LayerDefinition.

Public Constructors

 NameDescription
public ConstructorLayerDefinition Constructor  
Top

Public Properties

 NameDescription
public PropertyDefinitionExpressionGets or sets an optional SQL-based definition expression string that narrows down the data to be displayed in the layer. Used with ArcGIS Server map services. Example: "STATE_NAME='Kansas' and POP2007>25000"  
public PropertyDisplayFieldGets or sets a string containing the name of the field that best summarizes the feature. Values from this field are used by default as the titles for pop-up windows.  
public PropertyDrawingInfoGets or sets a DrawingInfo object containing drawing, labeling, and transparency information for the layer.  
public PropertyFieldsGets or sets an enumeration of ESRI.ArcGIS.Client.Field objects containing information about the attribute fields for the feature collection or layer.  
public PropertyGeometryTypeGets or sets the type of geometry used in the layer definition. This property is used with feature collections and CSV files. The only supported geometry for CSV files is esriGeometryPoint.  
public PropertyHasAttachmentsGets or sets a Boolean indicating whether attachments should be loaded for the layer.  
public PropertyMaximumScaleGets or sets a number representing the maximum scale at which the layer definition will be applied. The number is the scale's denominator; thus, a value of 2400 represents a scale of 1/2,400. A value of 0 indicates that the layer definition will be applied no matter how far you zoom in.  
public PropertyMinimumScaleGets or sets a number representing the minimum scale at which the layer definition will be applied. The number is the scale's denominator; thus, a value of 2400 represents a scale of 1/2,400.  
public PropertyObjectIdFieldGets or sets a string indicating the name of the object ID field in the dataset.  
public PropertyTypeGets or sets a string indicating whether the layerDefinition applies to a Feature Layer or a Table.  
public PropertyTypeIdFieldGets or sets a string containing the name of the field holding the type ID for the features, if types exist for the dataset. Each available type has an ID, and each feature's typeIdField can be read to determine the type for each feature.  
Top

Public Methods

 NameDescription
public MethodAddCustomPropertyAdds the custom property. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
public MethodGetCustomPropertyGets the custom property. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
Top

Public Events

 NameDescription
public EventPropertyChangedOccurs when a property value changes. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
Top

See Also

© ESRI, Inc. All Rights Reserved.