Back to Devexpress

TileBarDropDownOptions.CloseOnOuterClick Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilebardropdownoptions-73a568a0.md

latest2.7 KB
Original Source

TileBarDropDownOptions.CloseOnOuterClick Property

Gets or sets whether a dropdown window is hidden on clicking outside the dropdown’s bounds.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean CloseOnOuterClick { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property CloseOnOuterClick As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A value that specifies if a dropdown window is hidden on clicking outside the dropdown’s bounds.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CloseOnOuterClick
TileBar

.DropDownOptions .CloseOnOuterClick

| | TileBarItem |

.DropDownOptions .CloseOnOuterClick

|

Remarks

The Default value assigned to the TileBar.DropDownOptions.CloseOnOuterClick property is equivalent to True.

The Default value assigned to the TileBarItem.DropDownOptions.CloseOnOuterClick property means that the close behavior is controlled by the TileBar.DropDownOptions.CloseOnOuterClick property.

See Also

HideDropDownWindow()

DropDownControl

TileBarDropDownOptions Class

TileBarDropDownOptions Members

DevExpress.XtraBars.Navigation Namespace