Interface IComposableTreeViewItem
Defines members to display an item in the ComposableTreeView
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public interface IComposableTreeViewItem
Properties
View SourceCaption
Gets the caption.
Declaration
string Caption { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HasAccess
Indicates whether the item is accessable by the executor.
Declaration
bool HasAccess { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Id
Gets the unique identifier of the IComposableTreeViewItem.
Declaration
Guid Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
ParentId
Gets the unique identifier of the IComposableTreeViewItem parent.
Declaration
Guid? ParentId { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Guid> |
StackRank
Gets the stack rank of the IComposableTreeViewItem that defines the position in the treeview.
Declaration
int StackRank { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Remarks
If multiple items with the same StackRank are available, then it is sorted by the full name of the item.
Methods
View SourceOnActivate()
Is called when the instance is activated.
Declaration
void OnActivate()