TreeViewComboBox
Wisej.Web.TreeViewComboBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
The TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel.
Constructors
TreeViewComboBox()
Initializes a new TreeViewComboBox control.
Properties
ImageIndex
Int32: Returns or sets the image-list index value of the default image that is displayed by the tree nodes.
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
ImageKey
String: Returns or sets the key of the default image for each node in the TreeView control when it is in an unselected state.
ImageList
ImageList: Returns or sets the ImageList that contains the Image objects that are used by the tree nodes.
Nodes
TreeNodeCollection: Returns the collection of tree nodes that are assigned to the tree view control.
PrefetchItems
Int32: Returns or sets the number of items to prefetch outside of the visible area when VirtualScroll is set to true. The default is 0 (disabled).
SelectedIndex
Int32: Returns or sets the index of the currently selected item.
Throws:
ArgumentOutOfRangeException The specified index is less than -1; o the specified index is greater than the number of items in the combo box.
SelectedItem
TreeNode: Returns or sets the selected node in the drop down TreeView control.
Text
String: Returns or sets the text associated with this control.
TreeView
TreeView: Returns the TreeView control associated with this TreeViewComboBox.
TreeViewNodeSorter
IComparer<TreeNode>: Returns or sets the implementation of IComparer to perform a custom sort of the TreeView nodes.
VirtualScroll
Boolean: Enables or disables virtual scrolling for the TreeView. When virtual scrolling is enabled, only the visible nodes are rendered in the browser allowing the TreeView to host virtually unlimited nodes without any performance loss.
When VirtualScroll is set to true, all the nodes must be of the same height, limiting the more flexible HTML rendering in the nodes available when VirtualScroll is off (default). Setting the property PrefetchItems to a value greater than 0 allows the virtual view to prefetch the specified number of items outside of the visible area to enable smoother scrolling.
Implements
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Last updated