In This Article

TreeListBox Class

Represents an advanced single-column tree view control.

[TemplatePart(Name = "PART_ScrollViewer", Type = typeof(ScrollViewer))]
public class TreeListBox : ItemsControl
Inheritance:
object Visual UIElement FrameworkElement Control ItemsControl object
Derived:
TreeListView ShellTreeListBox

Constructors

TreeListBox()

Initializes an instance of the TreeListBox class.

public TreeListBox()

Properties

AssemblyInfo

Gets the ActiproSoftware.Products.AssemblyInfo to use.

[Browsable(false)]
protected virtual AssemblyInfo AssemblyInfo { get; }

Property Value

AssemblyInfo:

The ActiproSoftware.Products.AssemblyInfo to use.

AutoExpandItemsOnFilter

Gets or sets whether to auto-expand to items that are included by a filter when IsFilterActive is true.

public bool AutoExpandItemsOnFilter { get; set; }

Property Value

bool:

true if items that are included by a filter will be made visible; otherwise, false. The default value is false.

CanDragItems

Gets or sets whether to allow dragging of selected items.

public bool CanDragItems { get; set; }

Property Value

bool:

true if dragging of selected items is allowed; otherwise, false.

CanExpandAll

Gets whether any expand all operations can occur.

protected virtual bool CanExpandAll { get; }

Property Value

bool:

true if any expand all operations can occur; otherwise, false. The default value is true.

CanSelectItemOnFocus

Gets or sets whether an item is selected when it receives focus.

public bool CanSelectItemOnFocus { get; set; }

Property Value

bool:

true if an item is selected when it receives focus; otherwise, false. The default value is false.

DataFilter

Gets or sets the IDataFilter to use when IsFilterActive is true.

public IDataFilter DataFilter { get; set; }

Property Value

IDataFilter:

The IDataFilter to use when IsFilterActive is true.

EmptyContent

Gets or sets the content to display when there are no items visible in the control.

public object EmptyContent { get; set; }

Property Value

object:

The content to display when there are no items visible in the control.

EmptyContentTemplate

Gets or sets the DataTemplate to display when there are no items visible in the control.

public DataTemplate EmptyContentTemplate { get; set; }

Property Value

DataTemplate:

The DataTemplate to display when there are no items visible in the control.

HasTreeLines

Gets or sets whether tree lines should be rendered in TreeListBox and TreeListView controls.

public bool HasTreeLines { get; set; }

Property Value

bool:

true if tree lines should be rendered; otherwise, false. The default value is false.

Remarks

Tree lines can't render in PropertyGrid controls.

IndentIncrement

Gets or sets the incremental amount by which to indent an item for each depth level.

public double IndentIncrement { get; set; }

Property Value

double:

The incremental amount by which to indent an item for each depth level. The default value is 20.0.

IsDataVirtualizationEnabled

Gets or sets whether data virtualization is enabled.

public bool IsDataVirtualizationEnabled { get; set; }

Property Value

bool:

true if data virtualization is enabled; otherwise, false. The default value is false.

Remarks

Only set this property to true when using virtualized collections that implement IList. In most scenarios, this data virtualization feature is not needed since UI virtualization is always active in the control.

When the data virtualization feature is enabled, as a query for child items is made, an ITreeItemVirtualPlaceholder will be created for each child item. The only property initially touched on the virtualized collection is Count. Then when an item's UI container is first requested, the ITreeItemVirtualPlaceholder will be used to call into the virtualized collection's indexer and retrieve the real item. This allows for virtualized data retrieval of paged sections as needed, instead of the entire collection at once.

IsEmpty

Gets whether the control is currently empty (doesn't contain any visible items).

public bool IsEmpty { get; }

Property Value

bool:

true if the control is currently empty (doesn't contain any visible items); otherwise, false. The default value is true.

IsFilterActive

Gets or sets whether a filter is currently active.

public bool IsFilterActive { get; set; }

Property Value

bool:

true if a filter is currently active; otherwise, false. The default value is false.

IsKeyboardFocusWithinContent

Gets whether keyboard focus is within the content area, and not in any header area.

protected virtual bool IsKeyboardFocusWithinContent { get; }

Property Value

bool:

true if keyboard focus is within the content area; otherwise, false.

IsRootItemVisible

Gets or sets whether the RootItem is visible, or whether its children are the top-level node items.

public bool IsRootItemVisible { get; set; }

Property Value

bool:

true if the RootItem is the sole top-level node item; otherwise, false. The default value is false.

Remarks

When true, the RootItem itself will be the sole top-level node item. When false, the RootItem's children will be the top-level node items.

ItemAdapter

Gets or sets the TreeListBoxItemAdapter that adapts items with the UI by providing child items, expansion states, etc.

public TreeListBoxItemAdapter ItemAdapter { get; set; }

Property Value

TreeListBoxItemAdapter:

The TreeListBoxItemAdapter that adapts items with the UI.

MultiDragKind

Gets or sets a TreeMultiDragKind that indicates the dragging support when multiple items are involved.

public TreeMultiDragKind MultiDragKind { get; set; }

Property Value

TreeMultiDragKind:

A TreeMultiDragKind that indicates the dragging support when multiple items are involved. The default value is None, meaning only single item selections can be dragged when CanDragItems is true.

MultiSelectionKind

Gets or sets a TreeMultiSelectionKind that indicates the selection support when multiple items are involved.

public TreeMultiSelectionKind MultiSelectionKind { get; set; }

Property Value

TreeMultiSelectionKind:

A TreeMultiSelectionKind that indicates the selection support when multiple items are involved. The default value is Any.

PathSeparator

Gets or sets the delimiter string that the tree item full path uses.

public string PathSeparator { get; set; }

Property Value

string:

The delimiter string that the tree item full path uses. The default value is </code>.

RootItem

Gets or sets the root item to display in the control.

public object RootItem { get; set; }

Property Value

object:

The root item to display in the control.

Remarks

Set this property instead of ItemsSource.

SelectedItem

Gets or sets the primary selected item.

public object SelectedItem { get; set; }

Property Value

object:

The primary selected item.

Remarks

This property's setter can be a bottleneck in very large trees where the specified node hasn't yet been exposed to the control by its ancestor nodes all being expanded. In that scenario, a full tree search is required to locate the node.

SelectedItems

Gets the collection of selected items.

public ISelectedTreeItemCollection SelectedItems { get; }

Property Value

ISelectedTreeItemCollection:

The collection of selected items.

SelectionMode

Gets or sets a SelectionMode that indicates the selection behavior.

public SelectionMode SelectionMode { get; set; }

Property Value

SelectionMode:

A SelectionMode that indicates the selection behavior. The default value is Single.

TopLevelIndent

Gets or sets the amount by which to indent a top-level item.

public double TopLevelIndent { get; set; }

Property Value

double:

The incremental amount by which to indent a top-level item. The default value is 20.0.

Remarks

When top-level items aren't expandable, set this property to 0 to reclaim the space that would have been used by the expander.

Methods

ArrangeOverride(Size)

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

protected override Size ArrangeOverride(Size finalSize)
Parameter Type Description
finalSize Size

The final area within the parent that this element should use to arrange itself and its children.

Returns

Size:

The actual size used.

BringItemIntoView(object)

Brings the specified node's container into view.

public bool BringItemIntoView(object item)
Parameter Type Description
item object

The node whose container needs to scroll into view.

Returns

bool:

true if the node's container was brought into view; otherwise, false.

Remarks

This method can be a bottleneck in very large trees where the specified node hasn't yet been exposed to the control by its ancestor nodes all being expanded. In that scenario, a full tree search is required to locate the node. For that case, it is recommended to use the BringItemIntoViewByFullPath(string) method that searches by full path instead, since that can be much faster.

BringItemIntoViewByFullPath(string)

Brings the container for the item with the specified full path into view.

public bool BringItemIntoViewByFullPath(string fullPath)
Parameter Type Description
fullPath string

The full path to the item whose container needs to scroll into view.

Returns

bool:

true if the item's container was brought into view; otherwise, false.

Remarks

This method requires that the ItemAdapter supplies a path for each item.

ClearContainerForItemOverride(DependencyObject, object)

protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameter Type Description
element DependencyObject

The System.Windows.DependencyObject that is the wrapper element.

item object

The item that is being wrapped.

CollapseAll()

Collapses all known tree items.

public void CollapseAll()

CreateSelectionBatch()

Creates an IDisposable object that wraps a batch of selection updates, and allows them to be made without raising selection-related events in between each one.

public IDisposable CreateSelectionBatch()

Returns

IDisposable:

The IDisposable that was created.

ExpandAll()

Expands all known tree items.

public void ExpandAll()

FocusItem(object)

Focuses the container for the specified node, scrolling it into view as needed.

public void FocusItem(object item)
Parameter Type Description
item object

The node whose container should be focused.

Remarks

This method can be a bottleneck in very large trees where the specified node hasn't yet been exposed to the control by its ancestor nodes all being expanded. In that scenario, a full tree search is required to locate the node. For that case, it is recommended to use the FocusItemByFullPath(string) method that searches by full path instead, since that can be much faster.

FocusItemByFullPath(string)

Focuses the container for the node with the specified full path, scrolling it into view as needed.

public void FocusItemByFullPath(string fullPath)
Parameter Type Description
fullPath string

The full path to the node whose container should be focused.

Remarks

This method requires that the ItemAdapter supplies a path for each item.

GetContainerForItemOverride()

Creates or identifies the element used to display the specified item.

protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject:

The element that is used to display the given item.

GetFullPath(object)

Returns the full path of the specified item.

public string GetFullPath(object item)
Parameter Type Description
item object

The item to examine.

Returns

string:

The full path of the specified item.

GetIsSelectionActive(TreeListBox)

Gets the value of the IsSelectionActive attached property for the specified object.

public static bool GetIsSelectionActive(TreeListBox obj)
Parameter Type Description
obj TreeListBox

The object from which the property value is read.

Returns

bool:

The object's value.

GetItemByFullPath(string)

Returns the item with the specified full path.

public object GetItemByFullPath(string fullPath)
Parameter Type Description
fullPath string

The full path to the item.

Returns

object:

The item with the specified full path.

GetItemNavigator(object)

Returns the ITreeItemNavigator for the specified item, if the item is a visible item.

public ITreeItemNavigator GetItemNavigator(object item)
Parameter Type Description
item object

The visible item to examine.

Returns

ITreeItemNavigator:

The ITreeItemNavigator for the specified item, if the item is a visible item.

Remarks

This navigator can be used to navigate the item tree. No navigator will be returned if the item is not a visible item in this control.

InvalidateChildren(object)

Invalidates the children of the specified item, allowing the children to be requeried.

public void InvalidateChildren(object item)
Parameter Type Description
item object

The item to examine.

IsItemItsOwnContainerOverride(object)

Determines if the specified item is (or is eligible to be) its own item container.

protected override bool IsItemItsOwnContainerOverride(object item)
Parameter Type Description
item object

Specified item.

Returns

bool:

true if the item is its own item container; otherwise, false.

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns an AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

An AutomationPeer instance.

OnDragEnter(DragEventArgs)

Occurs when an object is dragged inside of the control.

protected override void OnDragEnter(DragEventArgs e)
Parameter Type Description
e DragEventArgs

The DragEventArgs containing data related to this event.

OnDragLeave(DragEventArgs)

Occurs when an object is dragged outside of the control.

protected override void OnDragLeave(DragEventArgs e)
Parameter Type Description
e DragEventArgs

The DragEventArgs containing data related to this event.

OnDragOver(DragEventArgs)

Occurs when an object is dragged over the control.

protected override void OnDragOver(DragEventArgs e)
Parameter Type Description
e DragEventArgs

The DragEventArgs containing data related to this event.

OnDrop(DragEventArgs)

Occurs when an object is dropped over the control.

protected override void OnDrop(DragEventArgs e)
Parameter Type Description
e DragEventArgs

The DragEventArgs containing data related to this event.

OnFilterApplied(RoutedEventArgs)

Occurs after the current filtering state has been applied to all of the control's items, generally occurring when DataFilter is changed, or filtering is enabled or disabled.

protected virtual void OnFilterApplied(RoutedEventArgs e)
Parameter Type Description
e RoutedEventArgs

The RoutedEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Occurs when the control gains keyboard focus.

protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameter Type Description
e KeyboardFocusChangedEventArgs

The KeyboardFocusChangedEventArgs containing data related to this event.

OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

Occurs when the property value has changed.

protected override void OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e)
Parameter Type Description
e DependencyPropertyChangedEventArgs

The System.Windows.DependencyPropertyChangedEventArgs containing data related to this event.

OnIsRootItemVisibleChanged(RoutedEventArgs)

Occurs after the IsRootItemVisible property is changed.

protected virtual void OnIsRootItemVisibleChanged(RoutedEventArgs e)
Parameter Type Description
e RoutedEventArgs

The RoutedEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemCollapsed(TreeListBoxItemExpansionEventArgs)

Occurs after an item is collapsed.

protected virtual void OnItemCollapsed(TreeListBoxItemExpansionEventArgs e)
Parameter Type Description
e TreeListBoxItemExpansionEventArgs

The TreeListBoxItemExpansionEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemCollapsing(TreeListBoxItemExpansionEventArgs)

Occurs before an item is collapsed.

protected virtual void OnItemCollapsing(TreeListBoxItemExpansionEventArgs e)
Parameter Type Description
e TreeListBoxItemExpansionEventArgs

The TreeListBoxItemExpansionEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemDefaultActionExecuting(TreeListBoxItemEventArgs)

Occurs before the default action is executed for an item.

protected virtual void OnItemDefaultActionExecuting(TreeListBoxItemEventArgs e)
Parameter Type Description
e TreeListBoxItemEventArgs

The TreeListBoxItemEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemExpanded(TreeListBoxItemExpansionEventArgs)

Occurs after an item is expanded.

protected virtual void OnItemExpanded(TreeListBoxItemExpansionEventArgs e)
Parameter Type Description
e TreeListBoxItemExpansionEventArgs

The TreeListBoxItemExpansionEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemExpanding(TreeListBoxItemExpansionEventArgs)

Occurs before an item is expanded.

protected virtual void OnItemExpanding(TreeListBoxItemExpansionEventArgs e)
Parameter Type Description
e TreeListBoxItemExpansionEventArgs

The TreeListBoxItemExpansionEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemMenuRequested(TreeListBoxItemMenuEventArgs)

Occurs when an item requests a context menu.

protected virtual void OnItemMenuRequested(TreeListBoxItemMenuEventArgs e)
Parameter Type Description
e TreeListBoxItemMenuEventArgs

The TreeListBoxItemMenuEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemSelecting(TreeListBoxItemEventArgs)

Occurs before an item is selected.

protected virtual void OnItemSelecting(TreeListBoxItemEventArgs e)
Parameter Type Description
e TreeListBoxItemEventArgs

The TreeListBoxItemEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnItemsSourceChanged(IEnumerable, IEnumerable)

Occurs when the ItemsSource property is changed.

protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameter Type Description
oldValue IEnumerable

The old value.

newValue IEnumerable

The new value.

OnKeyDown(KeyEventArgs)

Occurs when a key is pressed.

protected override void OnKeyDown(KeyEventArgs e)
Parameter Type Description
e KeyEventArgs

The KeyEventArgs that contains the event data.

OnRootItemChanged(RoutedEventArgs)

Occurs after the RootItem property is changed.

protected virtual void OnRootItemChanged(RoutedEventArgs e)
Parameter Type Description
e RoutedEventArgs

The RoutedEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnScrollViewerScrollChanged(ScrollChangedEventArgs)

Occurs when the scroll viewer's scroll is changed.

protected virtual void OnScrollViewerScrollChanged(ScrollChangedEventArgs e)
Parameter Type Description
e ScrollChangedEventArgs

The ScrollChangedEventArgs that contains data related to the event.

OnSelectionChanged(SelectionChangedEventArgs)

Occurs when the selection is changed.

protected virtual void OnSelectionChanged(SelectionChangedEventArgs e)
Parameter Type Description
e SelectionChangedEventArgs

The SelectionChangedEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameter Type Description
element DependencyObject

The System.Windows.DependencyObject that is the wrapper element.

item object

The item that is being wrapped.

ProcessKeyDown(KeyEventArgs)

Processes a key down event.

protected virtual void ProcessKeyDown(KeyEventArgs e)
Parameter Type Description
e KeyEventArgs

The KeyEventArgs that contains the event data.

SelectItemByFullPath(string)

Sets the SelectedItem to the node with the specified full path.

public virtual bool SelectItemByFullPath(string fullPath)
Parameter Type Description
fullPath string

The full path to the node whose container should be selected.

Returns

bool:

true if a node was selected; otherwise, false.

Remarks

This method requires that the ItemAdapter supplies a path for each item.

Events

FilterApplied

Occurs after the current filtering state has been applied to all of the control's items, generally occurring when DataFilter is changed, or filtering is enabled or disabled.

public event RoutedEventHandler FilterApplied

Event Type

RoutedEventHandler

IsRootItemVisibleChanged

Occurs after the IsRootItemVisible property is changed.

public event RoutedEventHandler IsRootItemVisibleChanged

Event Type

RoutedEventHandler

ItemCollapsed

Occurs after an item is collapsed.

public event EventHandler<TreeListBoxItemExpansionEventArgs> ItemCollapsed

Event Type

EventHandler<TreeListBoxItemExpansionEventArgs>

ItemCollapsing

Occurs before an item is collapsed.

public event EventHandler<TreeListBoxItemExpansionEventArgs> ItemCollapsing

Event Type

EventHandler<TreeListBoxItemExpansionEventArgs>

Remarks

Set the event argument's Cancel property to true to prevent the collapse.

ItemDefaultActionExecuting

Occurs before the default action is executed for an item.

public event EventHandler<TreeListBoxItemEventArgs> ItemDefaultActionExecuting

Event Type

EventHandler<TreeListBoxItemEventArgs>

Remarks

Set the event argument's Cancel property to true to prevent a default action from executing, which could be executing a DefaultActionCommand or toggling the item's expansion.

ItemExpanded

Occurs after an item is expanded.

public event EventHandler<TreeListBoxItemExpansionEventArgs> ItemExpanded

Event Type

EventHandler<TreeListBoxItemExpansionEventArgs>

ItemExpanding

Occurs before an item is expanded.

public event EventHandler<TreeListBoxItemExpansionEventArgs> ItemExpanding

Event Type

EventHandler<TreeListBoxItemExpansionEventArgs>

Remarks

Set the event argument's Cancel property to true to prevent the expansion.

ItemMenuRequested

Occurs when an item requests a context menu.

public event EventHandler<TreeListBoxItemMenuEventArgs> ItemMenuRequested

Event Type

EventHandler<TreeListBoxItemMenuEventArgs>

ItemSelecting

Occurs before an item is selected.

public event EventHandler<TreeListBoxItemEventArgs> ItemSelecting

Event Type

EventHandler<TreeListBoxItemEventArgs>

Remarks

Set the event argument's Cancel property to true to prevent the selection.

RootItemChanged

Occurs after the RootItem property is changed.

public event RoutedEventHandler RootItemChanged

Event Type

RoutedEventHandler

SelectionChanged

Occurs when the selection is changed.

public event SelectionChangedEventHandler SelectionChanged

Event Type

SelectionChangedEventHandler

Fields

AutoExpandItemsOnFilterProperty

Identifies the AutoExpandItemsOnFilter dependency property. This field is read-only.

public static readonly DependencyProperty AutoExpandItemsOnFilterProperty

CanDragItemsProperty

Identifies the CanDragItems dependency property. This field is read-only.

public static readonly DependencyProperty CanDragItemsProperty

CanSelectItemOnFocusProperty

Identifies the CanSelectItemOnFocus dependency property. This field is read-only.

public static readonly DependencyProperty CanSelectItemOnFocusProperty

DataFilterProperty

Identifies the DataFilter dependency property. This field is read-only.

public static readonly DependencyProperty DataFilterProperty

EmptyContentProperty

Identifies the EmptyContent dependency property. This field is read-only.

public static readonly DependencyProperty EmptyContentProperty

EmptyContentTemplateProperty

Identifies the EmptyContentTemplate dependency property. This field is read-only.

public static readonly DependencyProperty EmptyContentTemplateProperty

FilterAppliedEvent

Identifies the FilterApplied routed event. This field is read-only.

public static readonly RoutedEvent FilterAppliedEvent

HasTreeLinesProperty

Identifies the HasTreeLines dependency property. This field is read-only.

public static readonly DependencyProperty HasTreeLinesProperty

IndentIncrementProperty

Identifies the IndentIncrement dependency property. This field is read-only.

public static readonly DependencyProperty IndentIncrementProperty

IsDataVirtualizationEnabledProperty

Identifies the IsDataVirtualizationEnabled dependency property. This field is read-only.

public static readonly DependencyProperty IsDataVirtualizationEnabledProperty

IsEmptyProperty

Identifies the IsEmpty dependency property. This field is read-only.

public static readonly DependencyProperty IsEmptyProperty

IsFilterActiveProperty

Identifies the IsFilterActive dependency property. This field is read-only.

public static readonly DependencyProperty IsFilterActiveProperty

IsRootItemVisibleChangedEvent

Identifies the IsRootItemVisibleChanged routed event. This field is read-only.

public static readonly RoutedEvent IsRootItemVisibleChangedEvent

IsRootItemVisibleProperty

Identifies the IsRootItemVisible dependency property. This field is read-only.

public static readonly DependencyProperty IsRootItemVisibleProperty

IsSelectionActiveProperty

Identifies the IsSelectionActive dependency property. This field is read-only.

public static readonly DependencyProperty IsSelectionActiveProperty

ItemAdapterProperty

Identifies the ItemAdapter dependency property. This field is read-only.

public static readonly DependencyProperty ItemAdapterProperty

ItemCollapsedEvent

Identifies the ItemCollapsed routed event. This field is read-only.

public static readonly RoutedEvent ItemCollapsedEvent

ItemCollapsingEvent

Identifies the ItemCollapsing routed event. This field is read-only.

public static readonly RoutedEvent ItemCollapsingEvent

ItemDataFormat

Specifies the data format to use for item data.

public const string ItemDataFormat = "ActiproSoftware.TreeListBox.Items"

ItemDefaultActionExecutingEvent

Identifies the ItemDefaultActionExecuting routed event. This field is read-only.

public static readonly RoutedEvent ItemDefaultActionExecutingEvent

ItemExpandedEvent

Identifies the ItemExpanded routed event. This field is read-only.

public static readonly RoutedEvent ItemExpandedEvent

ItemExpandingEvent

Identifies the ItemExpanding routed event. This field is read-only.

public static readonly RoutedEvent ItemExpandingEvent

ItemMenuRequestedEvent

Identifies the ItemMenuRequested routed event. This field is read-only.

public static readonly RoutedEvent ItemMenuRequestedEvent

ItemSelectingEvent

Identifies the ItemSelecting routed event. This field is read-only.

public static readonly RoutedEvent ItemSelectingEvent

MultiDragKindProperty

Identifies the MultiDragKind dependency property. This field is read-only.

public static readonly DependencyProperty MultiDragKindProperty

MultiSelectionKindProperty

Identifies the MultiSelectionKind dependency property. This field is read-only.

public static readonly DependencyProperty MultiSelectionKindProperty

PathSeparatorProperty

Identifies the PathSeparator dependency property. This field is read-only.

public static readonly DependencyProperty PathSeparatorProperty

RootItemChangedEvent

Identifies the RootItemChanged routed event. This field is read-only.

public static readonly RoutedEvent RootItemChangedEvent

RootItemProperty

Identifies the RootItem dependency property. This field is read-only.

public static readonly DependencyProperty RootItemProperty

SelectedItemProperty

Identifies the SelectedItem dependency property. This field is read-only.

public static readonly DependencyProperty SelectedItemProperty

SelectionChangedEvent

Identifies the SelectionChanged routed event. This field is read-only.

public static readonly RoutedEvent SelectionChangedEvent

SelectionModeProperty

Identifies the SelectionMode dependency property. This field is read-only.

public static readonly DependencyProperty SelectionModeProperty

TopLevelIndentProperty

Identifies the TopLevelIndent dependency property. This field is read-only.

public static readonly DependencyProperty TopLevelIndentProperty