ClassTreeViewItem
Represents the TreeViewItem for Silverlight control wrapper.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml.Wpf
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class TreeViewItem : HeaderedItemsControl, IAutomationPeer, IPeerConverter, ITreeViewItem, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlItemsControlHeaderedItemsControlTreeViewItem
Implements:
Inherited Members
Constructors
TreeViewItem()
Declaration
public TreeViewItem()
Fields
IsExpandedProperty
Declaration
public static AutomationProperty IsExpandedProperty
Field Value
IsSelectedProperty
Declaration
public static AutomationProperty IsSelectedProperty
Field Value
IsSelectionActiveProperty
Declaration
public static AutomationProperty IsSelectionActiveProperty
Field Value
Properties
Header
Get the header responsible for item selection. Override for custom control template.
Declaration
public virtual FrameworkElement Header { get; }
Property Value
Implements
IsExpanded
Get/set whether the item is expanded.
IsSelected
Get/set whether the item is selected.
Items
Get the item children.
Declaration
public IList<ITreeViewItem> Items { get; }
Property Value
Implements
ItemsPanel
Get the element holding the tree view items. Override for custom control template.
Declaration
public virtual FrameworkElement ItemsPanel { get; }
Property Value
Text
Get the item text.
Declaration
public override string Text { get; }
Property Value
Overrides
Implements
ToggleButton
Get the toggle button responsible for simulating item expand/collapse actions. Override for custom control template.
Declaration
public virtual FrameworkElement ToggleButton { get; }
Property Value
Implements
Methods
AssignReference(AutomationReference)
Assign the automation reference to this element.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
The automation reference to assign.
Overrides
Implements
GetRealType()
Gets the real object type. This property returns string.empty on FrameworkElement and all subclasses that inherit from it.
Select(bool)
Selects the item.
Declaration
public void Select(bool simulateRealUser)
Parameters
simulateRealUser
Whether to simulate real user click to select the item.
Implements
Toggle(bool)
Expands/collapses the item.
Declaration
public void Toggle(bool simulateRealUser)
Parameters
simulateRealUser
Whether to simulate real user click to expand/collapse the item.
Implements