The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

TreeListEditor.ClearFocusedObjectOnMouseClick Property

Specifies whether the focused object can be deselected by clicking on the TreeListEditor's region not occupied by a node.

Namespace: DevExpress.ExpressApp.TreeListEditors.Win

Assembly: DevExpress.ExpressApp.TreeListEditors.Win.v19.2.dll

Declaration

public bool ClearFocusedObjectOnMouseClick { get; set; }
Public Property ClearFocusedObjectOnMouseClick As Boolean
public bool ClearFocusedObjectOnMouseClick { get; set; }
Public Property ClearFocusedObjectOnMouseClick As Boolean

Property Value

Type Description
Boolean

true, if the focused object can be deselected by clicking on the TreeListEditor's region not occupied by a node; otherwise, false. The default value is true.

Property Value

Type Description
Boolean

true, if the focused object can be deselected by clicking on the TreeListEditor's region not occupied by a node; otherwise, false. The default value is true.

Remarks

This property affects how tree nodes are created via the New Action, in a List View represented by the TreeListEditor. When a node is created via the New Action, it is created as a child of the currently focused node. If the ClearFocusedObjectOnMouseClick property is set to true, a user can click on the TreeListEditor's region not occupied by a node, and this will deselect the focused node. If a user then uses the New Action, the new node will be created as root.

See Also