ClassRadTreeViewItem
Represents the Silverlight RadTreeViewItem control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml.Wpf
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class RadTreeViewItem : ItemsControl, IAutomationPeer, IPeerConverter, IRadTreeViewItem, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlItemsControlRadTreeViewItem
Derived Classes:
Implements:
Inherited Members
Constructors
RadTreeViewItem()
Initializes a new instance of the RadTreeViewItem class.
Declaration
public RadTreeViewItem()
Properties
CheckBoxFrameworkElement
The tree view item built-in check box element.
Declaration
public FrameworkElement CheckBoxFrameworkElement { get; }
Property Value
Implements
HeaderRow
Get the header Grid holding the node text and the expander toggle button.
HeaderTextBlock
Gets the tree view item header text box.
IsChecked
Get whether the node check box or radio button is checked.
Declaration
public bool? IsChecked { get; }
Property Value
bool?
Exceptions
Thrown if the TreeView is not configured with 'OptionsElements' setting.
IsExpanded
Gets whether the TreeViewItem is expanded.
IsFocused
Gets whether the TreeViewItem is focused.
IsSelected
Gets whether the TreeViewItem is selected.
IsThreeState
Get whether the node check box or radio button is checked in three state mode (only if checked programmatically!).
Declaration
public bool IsThreeState { get; }
Property Value
Exceptions
Thrown if the TreeView is not configured with 'OptionsElements' setting.
ItemExpander
Gets the item expander button.
Declaration
public FrameworkElement ItemExpander { get; }
Property Value
Implements
ItemIndex
Get the index of the item.
ItemText
Get the item text.
ItemsHost
Gets the items presenter element holding the sub items.
Declaration
protected ItemsPresenter ItemsHost { get; }
Property Value
NodeElements
Get the list of RadTreeViewItem children.
Declaration
public IList<IRadTreeViewItem> NodeElements { get; }
Property Value
Implements
RadioButtonFrameworkElement
The tree view item built-in radio button element.
Declaration
public FrameworkElement RadioButtonFrameworkElement { get; }
Property Value
Implements
Methods
AssignReference(AutomationReference)
Initialize the element.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
The automation reference of the element.
Overrides
Implements
Check()
Check the node check box or radio button if enabled.
Declaration
public void Check()
Exceptions
Thrown if the TreeView is not configured with 'OptionsElements' setting.
Implements
CheckNode(int)
Check a sub node with the given index and get back with updated (parent) node.
Declaration
public void CheckNode(int nodeIndex)
Parameters
nodeIndex
The index of the node to be checked.
Collapse()
Collapse this node.
Declaration
public void Collapse()
Exceptions
Thrown if the node is not in expanded state.
DragToElement(FrameworkElement)
Drag the current node to the target element.
Declaration
public void DragToElement(FrameworkElement element)
Parameters
element
The target element to drag to.
DragToNode(RadTreeViewItem)
Drag the current node to the target one.
Declaration
public void DragToNode(RadTreeViewItem target)
Parameters
target
The target node to drag the current item to.
Expand()
Expand this node.
Declaration
public void Expand()
Exceptions
Thrown if the node is not in collapsed state.
HeaderRightClick()
Simulates user right-click on the item header. Useful in integration with RadContextMenu.
Declaration
public void HeaderRightClick()
Select()
Select the current tree node.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Select")]
public virtual void Select()
Implements
Toggle()
Toggles (expands/collapses) this node.
Declaration
public virtual void Toggle()
Implements