Class TocItem
Class used to represent an entry in the Legend control.
Assembly: Esri.ArcGISRuntime.Toolkit.WPF.dll
public class TocItem : INotifyPropertyChanged, ILayerContentItem
Properties
|
Improve this Doc
View Source
Gets the child entries for this TOC Entry.
Declaration
public IEnumerable<TocItem> Children { get; }
Property Value
|
Improve this Doc
View Source
Content
Gets the content that this entry represents, usually a Layer, or .
Declaration
public object Content { get; }
Property Value
See Also
|
Improve this Doc
View Source
Gets the depth of this item in the TreeView.
Declaration
public int Depth { get; }
Property Value
|
Improve this Doc
View Source
Gets or sets a value indicating whether the item is expanded in the TreeView or not.
Declaration
public bool IsExpanded { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Layer? Layer { get; }
Property Value
|
Improve this Doc
View Source
LayerContent
Gets the that this TocItem belongs to.
Declaration
public ILayerContent? LayerContent { get; }
Property Value
See Also
|
Improve this Doc
View Source
Gets a reference to the parent of this tree item node.
Declaration
public TocItem Parent { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Forces regeneration of the legend for this item.
Declaration
public void RefreshLegend()
Events
|
Improve this Doc
View Source
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Implements