C1.Win.TreeView Namespace / C1TreeView Class / ExpandButtonBehavior Property

In This Topic
ExpandButtonBehavior Property (C1TreeView)
In This Topic
Gets or sets a value that specifies the behavior of the C1TreeView when the expand button is clicked.
Syntax
'Declaration
 
<C1CategoryAttribute("Behavior")>
<C1DescriptionAttribute("C1TreeView.ExpandButtonBehavior", "The value that specifies the behavior of the C1TreeView when the expand button is clicked.")>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
Public Property ExpandButtonBehavior As ExpandButtonBehavior
 
Remarks
  • The C1TreeView collapses and expands a node on the MouseUp event.
  • The C1TreeView collapses and expands a node on the MouseDown event.

If you want to use MS TreeView like behavior, then set the value to MouseDown.

See Also