Back to Devexpress

TreeListOptionsSelection Members

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsselection-dot-underscore-members.md

latest6.0 KB
Original Source

TreeListOptionsSelection Members

Provides selection options for Tree List controls.

Constructors

NameDescription
TreeListOptionsSelection()Initializes a new instance of the TreeListOptionsSelection class.

Properties

NameDescription
EnableAppearanceFocusedCellGets or sets whether the appearance settings for the focused cell are enabled.
EnableAppearanceFocusedRowGets or sets whether the appearance settings for the focused node are enabled.
EnableAppearanceHotTrackedRowGets or sets whether the appearance settings for the hovered (hot-tracked) node are enabled. Default is equivalent to False.
InvertSelectionGets or sets whether the focused style is applied to the focused cell only or to all the cells except for the focused one.
KeepSelectedOnClickGets or sets whether row selection persists when a user clicks on a selected row’s cell.
MultiSelectGets or sets whether multiple nodes can be selected.
MultiSelectModeGets or sets whether multiple selection is made by node or by cell.
SelectNodesOnRightClickGets or sets whether nodes are focused when right-clicked.
UseIndicatorForSelectionGets or sets whether nodes can be selected via the node indicator when the Tree List is in multiple selection mode.

Methods

NameDescription
Assign(BaseOptions)Copies all the settings from the options object passed as the parameter.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all options to their default values. Inherited from BaseOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

See Also

TreeListOptionsSelection Class

DevExpress.XtraTreeList Namespace