Class HierarchicalComposableTreeViewItem
Wraps an implementation of the IComposableTreeViewItem for hierarchical composition.
Implements
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.IDataErrorInfo
System.ComponentModel.INotifyDataErrorInfo
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public sealed class HierarchicalComposableTreeViewItem : ObservableObject, INotifyPropertyChanged, IDataErrorInfo, INotifyDataErrorInfo, INotifyDataPropertyChanged, IComposableTreeViewItem
Properties
View SourceCaption
Gets the caption.
Declaration
public string Caption { get; }
Property Value
Type | Description |
---|---|
System.String |
HasAccess
Indicates whether the item is accessable by the executor.
Declaration
public bool HasAccess { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Id
Gets the unique identifier of the IComposableTreeViewItem.
Declaration
public Guid Id { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Instance
The underlying instance of the item source.
Declaration
public IComposableTreeViewItem Instance { get; }
Property Value
Type | Description |
---|---|
IComposableTreeViewItem |
ParentId
Gets the unique identifier of the IComposableTreeViewItem parent.
Declaration
public Guid? ParentId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
StackRank
Gets the sort index of the IComposableTreeViewItem.
Declaration
public int StackRank { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
If multiple items with the same SortIndex be found then it will be sorted by the type of the item.
SubSections
Gets the subsections of the treeview item.
Declaration
public IList<HierarchicalComposableTreeViewItem> SubSections { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<HierarchicalComposableTreeViewItem> |
Methods
View SourceOnActivate()
Is called when the instance is activated.
Declaration
public void OnActivate()
Implements
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.IDataErrorInfo
System.ComponentModel.INotifyDataErrorInfo
Extension Methods
HierarchicalComposableTreeViewItemExtensions.FindChildById(HierarchicalComposableTreeViewItem, Guid)