Skip to main content
Version: 3.5

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

Instance memberTreeViewComboBox()

Initializes a new TreeViewComboBox control.

Properties

Instance memberImageIndex

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

Throws:

Instance memberImageKey

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: "")

Instance memberImageList

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

Instance memberNodes

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

Instance memberPrefetchItems

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)

Instance memberSelectedIndex

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.

Instance memberSelectedItem

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

Instance memberText

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

Instance memberTreeView

TreeView: Returns the TreeView control associated with this TreeViewComboBox.

Instance memberTreeViewNodeSorter

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

Instance memberVirtualScroll

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
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IModifiedProvides access to the Modified property and ModifiedChanged event for controls that implement this interface.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.