TreeViewComboBox

Wisej.Web.TreeViewComboBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

The TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel.

public class TreeViewComboBox : UserComboBox

Constructors

Initializes a new TreeViewComboBox control.

Properties

Int32: Returns or sets the image-list index value of the default image that is displayed by the tree nodes. (Default: -1)

Throws:

String: Returns or sets the key of the default image for each node in the TreeView control when it is in an unselected state. (Default: "")

ImageList: Returns or sets the ImageList that contains the Image objects that are used by the tree nodes. (Default: null)

TreeNodeCollection: Returns the collection of tree nodes that are assigned to the tree view control.

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). (Default: 0)

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.

TreeNode: Returns or sets the selected node in the drop down TreeView control.

String: Returns or sets the text associated with this control. (Default: "")

TreeView: Returns the TreeView control associated with this TreeViewComboBox.

IComparer<TreeNode>: Returns or sets the implementation of IComparer to perform a custom sort of the TreeView nodes.

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. (Default: False)

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

NameDescription

Bindable components implement this interface.

Controls that support drag & drop operations implement this interface.

Provides access to the LabelWrapper associated with the controls that implement this interface.

Provides access to the ReadOnly property for coontrols that support the read-only mode.

Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.

Provides access to the validation events and properties property for controls that support validation.

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