Class TreeListView
- Namespace
- HeBianGu.Control.TreeListView
- Assembly
- HeBianGu.Control.TreeListView.dll
public class TreeListView : TreeView, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
- Inheritance
-
TreeListView
- Implements
- Inherited Members
- Extension Methods
Fields
ColumnsProperty
public static readonly DependencyProperty ColumnsProperty
Field Value
SelectItemProperty
public static readonly DependencyProperty SelectItemProperty
Field Value
Properties
Columns
public GridViewColumnCollection Columns { get; set; }
Property Value
DefaultStyleKey
public static ComponentResourceKey DefaultStyleKey { get; }
Property Value
SelectItem
public object SelectItem { get; set; }
Property Value
Methods
GetContainerForItemOverride()
Creates a TreeViewItem to use to display content.
protected override DependencyObject GetContainerForItemOverride()
Returns
- DependencyObject
A new TreeViewItem to use as a container for content.
IsItemItsOwnContainerOverride(object)
Determines whether the specified item is its own container or can be its own container.
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
item
objectThe object to evaluate.
Returns
- bool
true if
item
is a TreeViewItem; otherwise, false.
OnSelectedItemChanged(RoutedPropertyChangedEventArgs<object>)
Raises the SelectedItemChanged event when the SelectedItem property value changes.
protected override void OnSelectedItemChanged(RoutedPropertyChangedEventArgs<object> e)
Parameters
e
RoutedPropertyChangedEventArgs<object>Provides the item that was previously selected and the item that is currently selected for the SelectedItemChanged event.