Interface ITreeViewItemContainer
Interface for a container that holds tree view items.
public interface ITreeViewItemContainer
Properties
- ListContainer
Gets the container that manages the list control items.
- TreeButtons
Gets the type of buttons used in the tree view.
Methods
- BeginUpdate()
Begins an update of the tree view. Call this method before making multiple changes to the tree view to prevent multiple refreshes.
- EndUpdate()
Ends an update of the tree view. Call this method after making multiple changes to the tree view to refresh the view.
- EnsureVisible(TreeViewItem?)
Ensures that the tree item is visible, expanding tree items and scrolling the tree view control as necessary.
- GetLevelMargin()
Gets margin for each level in the tree.
- Invalidate()
Repaints the tree view control. Uses message queue.
- RaiseAfterCollapse(TreeViewItem)
Called after the tree item is collapsed.
- RaiseAfterExpand(TreeViewItem)
Called after the tree item is expanded.
- RaiseBeforeCollapse(TreeViewItem, ref bool)
Called before the tree item is collapsed.
- RaiseBeforeExpand(TreeViewItem, ref bool)
Called before the tree item is expanded.
- RaiseExpandedChanged(TreeViewItem)
Called after 'IsExpanded' property value of a tree item belonging to this tree view changes.
- RaiseItemAdded(TreeViewItem)
Called when an item is added to this tree view control, at any nesting level.
- RaiseItemPropertyChanged(TreeViewItem, string?)
Called when a property of a tree item changes.
- RaiseItemRemoved(TreeViewItem)
Called when an item is removed from this tree view control, at any nesting level.
- RaiseItemSelectedChanged(TreeViewItem, bool)
Called when a tree item is selected or deselected.
- Refresh()
Repaints the tree view control immediately.
- ScrollIntoView(TreeViewItem?)
Scrolls control so the specified item will be fully visible.
- TreeChanged()
Notifies the container that the structure of the tree has changed.