C# Class Esri.ArcGISRuntime.Toolkit.Controls.Legend

The Legend is a utility control that displays the symbology of Layers and their description for map interpretation.
Inheritance: Control
Afficher le fichier Open project: Esri/arcgis-toolkit-dotnet Class Usage Examples

Méthodes publiques

Свойство Type Description
LayerItemsProperty DependencyProperty
LayerItemsSourceProperty DependencyProperty
LayerTemplateProperty DependencyProperty
LayersProperty DependencyProperty
LegendItemTemplateProperty DependencyProperty
MapLayerTemplateProperty DependencyProperty
ReverseLayersOrderProperty DependencyProperty
ScaleProperty DependencyProperty
ShowOnlyVisibleLayersProperty DependencyProperty

Méthodes publiques

Méthode Description
Legend ( ) : Esri.ArcGISRuntime.Layers

Initializes a new instance of the Legend class.

OnApplyTemplate ( ) : void
Refresh ( ) : void

Refreshes the legend control.

Note : In most cases, the control is always up to date without calling the refresh method.

Méthodes protégées

Méthode Description
OnApplyTemplate ( ) : void

Private Methods

Méthode Description
LegendTree_PropertyChanged ( object sender, System e ) : void
OnLayerTemplateChanged ( DataTemplate newDataTemplate ) : void
OnLayerTemplateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnLayersPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnLayersPropertyChanged ( IEnumerable newLayers ) : void
OnLegendItemTemplateChanged ( DataTemplate newDataTemplate ) : void
OnLegendItemTemplateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnMapLayerTemplateChanged ( DataTemplate newDataTemplate ) : void
OnMapLayerTemplateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnRefreshed ( object sender, RefreshedEventArgs args ) : void
OnReverseLayersOrderChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnReverseLayersOrderChanged ( bool newReverseLayersOrder ) : void
OnScalePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnScalePropertyChanged ( double scale ) : void
OnShowOnlyVisibleLayersPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnShowOnlyVisibleLayersPropertyChanged ( bool newValue ) : void
UpdateLayerItemsSource ( ) : void
UpdateLayerItemsSourceImpl ( ) : void

Method Details

Legend() public méthode

Initializes a new instance of the Legend class.
public Legend ( ) : Esri.ArcGISRuntime.Layers
Résultat Esri.ArcGISRuntime.Layers

OnApplyTemplate() protected public méthode

protected public OnApplyTemplate ( ) : void
Résultat void

Refresh() public méthode

Refreshes the legend control.
Note : In most cases, the control is always up to date without calling the refresh method.
public Refresh ( ) : void
Résultat void

Property Details

LayerItemsProperty public_oe static_oe property

Identifies the LayerItems dependency property.
public static DependencyProperty LayerItemsProperty
Résultat DependencyProperty

LayerItemsSourceProperty public_oe static_oe property

Identifies the LayerItemsSource dependency property.
public static DependencyProperty LayerItemsSourceProperty
Résultat DependencyProperty

LayerTemplateProperty public_oe static_oe property

Identifies the LayerTemplate dependency property.
public static DependencyProperty LayerTemplateProperty
Résultat DependencyProperty

LayersProperty public_oe static_oe property

Identifies the Layers Dependency property.
public static DependencyProperty LayersProperty
Résultat DependencyProperty

LegendItemTemplateProperty public_oe static_oe property

Identifies the LegendItemTemplate dependency property.
public static DependencyProperty LegendItemTemplateProperty
Résultat DependencyProperty

MapLayerTemplateProperty public_oe static_oe property

Identifies the LegendItemTemplate dependency property.
public static DependencyProperty MapLayerTemplateProperty
Résultat DependencyProperty

ReverseLayersOrderProperty public_oe static_oe property

Identifies the ReverseLayersOrder dependency property.
public static DependencyProperty ReverseLayersOrderProperty
Résultat DependencyProperty

ScaleProperty public_oe static_oe property

Identifies the Scale Dependency property.
public static DependencyProperty ScaleProperty
Résultat DependencyProperty

ShowOnlyVisibleLayersProperty public_oe static_oe property

Identifies the ShowOnlyVisibleLayers dependency property.
public static DependencyProperty ShowOnlyVisibleLayersProperty
Résultat DependencyProperty