Свойство | Type | Description | |
---|---|---|---|
Attach | void | ||
Detach | void | ||
GetLayerItemsSource | IEnumerable |
||
GetMapUnit | MapUnit | ||
GetTemplate | System.Windows.DataTemplate | ||
IsInDesignMode | bool | ||
LayerItemViewModel | System | ||
LayerItemViewModel | System | ||
LayerItem_PropertyChanged | void | ||
LayerItemsSourceChanged | void | ||
LayerItems_CollectionChanged | void | ||
LegendItems_CollectionChanged | void | ||
RatioScaleResolution | double | ||
Subscribe | void | ||
Unsubscribe | void | ||
UpdateLayerVisibilities | void |
Méthode | Description | |
---|---|---|
LayerItemViewModel ( Layer layer ) : System |
Initializes a new instance of the LayerItemViewModel class.
|
Méthode | Description | |
---|---|---|
ConvertToResolution ( double scale, Map map ) : double |
Converts to resolution.
|
Méthode | Description | |
---|---|---|
Attach ( ESRI.ArcGIS.Client.Toolkit.Primitives.LegendTree legendTree ) : void | ||
Detach ( ) : void | ||
GetLayerItemsSource ( ) : IEnumerable |
||
GetMapUnit ( Map map, bool isWebMercator ) : MapUnit | ||
GetTemplate ( ) : System.Windows.DataTemplate |
Gets the template.
|
|
IsInDesignMode ( ) : bool | ||
LayerItemViewModel ( ) : System |
Initializes a new instance of the LayerItemViewModel class without layer.
|
|
LayerItemViewModel ( Layer layer, LayerLegendInfo layerLegendInfo, string defaultLayerDescription, Map map ) : System |
Initializes a new instance of the LayerItemViewModel class from a LayerLegendInfo..
|
|
LayerItem_PropertyChanged ( object sender, System e ) : void | ||
LayerItemsSourceChanged ( ) : void | ||
LayerItems_CollectionChanged ( object sender, System e ) : void | ||
LegendItems_CollectionChanged ( object sender, System e ) : void | ||
RatioScaleResolution ( MapUnit mapUnit, double yCenter, bool isWebMercator ) : double | ||
Subscribe ( IEnumerable layerItems ) : void | ||
Unsubscribe ( IEnumerable layerItems ) : void | ||
UpdateLayerVisibilities ( bool isParentVisible, bool isParentInScaleRange, bool isParentInTimeExtent ) : void |
Updates recursively the properties IsEnabled, IsVisible, IsInScaleRange and IsInTimeExtent.
|
protected ConvertToResolution ( double scale, Map map ) : double | ||
scale | double | The scale. |
map | Map | The map. |
Résultat | double |
public LayerItemViewModel ( Layer layer ) : System | ||
layer | Layer | The layer this item represents. |
Résultat | System |