InterfaceITreeViewItem
Interface
Represents the TreeViewItem for SL/Wpf control wrapper interface.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public interface ITreeViewItem : IControl, IFrameworkElement, ITargetElement
Derived Classes:
Inherited Members
Properties
Header
Get the header element, useful for selection.
IsExpanded
Get/set whether the item is expanded.
IsSelected
Get/set whether the item is selected.
Items
Get the TreeView root items.
Declaration
cs-api-definition
IList<ITreeViewItem> Items { get; }
Property Value
ToggleButton
Get the expand/collapse button element.
Declaration
cs-api-definition
FrameworkElement ToggleButton { get; }
Property Value
Methods
Select(bool)
Selects the item.
Declaration
cs-api-definition
void Select(bool simulateRealUser)
Parameters
simulateRealUser
Whether to simulate real user action.
Toggle(bool)
Expands/collapses the item.
Declaration
cs-api-definition
void Toggle(bool simulateRealUser)
Parameters
simulateRealUser
Whether to simulate real user action.