C# Класс Esri.ArcGISRuntime.Toolkit.Controls.Legend

The Legend is a utility control that displays the symbology of Layers and their description for map interpretation.
Наследование: Control
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
LayerItemsProperty DependencyProperty
LayerItemsSourceProperty DependencyProperty
LayerTemplateProperty DependencyProperty
LayersProperty DependencyProperty
LegendItemTemplateProperty DependencyProperty
MapLayerTemplateProperty DependencyProperty
ReverseLayersOrderProperty DependencyProperty
ScaleProperty DependencyProperty
ShowOnlyVisibleLayersProperty DependencyProperty

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
OnApplyTemplate ( ) : void

Приватные методы

Метод Описание
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

Описание методов

Legend() публичный Метод

Initializes a new instance of the Legend class.
public Legend ( ) : Esri.ArcGISRuntime.Layers
Результат Esri.ArcGISRuntime.Layers

OnApplyTemplate() защищенный публичный Метод

protected public OnApplyTemplate ( ) : void
Результат void

Refresh() публичный Метод

Refreshes the legend control.
Note : In most cases, the control is always up to date without calling the refresh method.
public Refresh ( ) : void
Результат void

Описание свойств

LayerItemsProperty публичное статическое свойство

Identifies the LayerItems dependency property.
public static DependencyProperty LayerItemsProperty
Результат DependencyProperty

LayerItemsSourceProperty публичное статическое свойство

Identifies the LayerItemsSource dependency property.
public static DependencyProperty LayerItemsSourceProperty
Результат DependencyProperty

LayerTemplateProperty публичное статическое свойство

Identifies the LayerTemplate dependency property.
public static DependencyProperty LayerTemplateProperty
Результат DependencyProperty

LayersProperty публичное статическое свойство

Identifies the Layers Dependency property.
public static DependencyProperty LayersProperty
Результат DependencyProperty

LegendItemTemplateProperty публичное статическое свойство

Identifies the LegendItemTemplate dependency property.
public static DependencyProperty LegendItemTemplateProperty
Результат DependencyProperty

MapLayerTemplateProperty публичное статическое свойство

Identifies the LegendItemTemplate dependency property.
public static DependencyProperty MapLayerTemplateProperty
Результат DependencyProperty

ReverseLayersOrderProperty публичное статическое свойство

Identifies the ReverseLayersOrder dependency property.
public static DependencyProperty ReverseLayersOrderProperty
Результат DependencyProperty

ScaleProperty публичное статическое свойство

Identifies the Scale Dependency property.
public static DependencyProperty ScaleProperty
Результат DependencyProperty

ShowOnlyVisibleLayersProperty публичное статическое свойство

Identifies the ShowOnlyVisibleLayers dependency property.
public static DependencyProperty ShowOnlyVisibleLayersProperty
Результат DependencyProperty