Back to Devexpress

BaseGallery.ClearSelectionOnClickEmptySpace Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-be1c9469.md

latest1.8 KB
Original Source

BaseGallery.ClearSelectionOnClickEmptySpace Property

Gets or sets whether the current selection is cleared when clicking the empty space.

Namespace : DevExpress.XtraBars.Ribbon.Gallery

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool ClearSelectionOnClickEmptySpace { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property ClearSelectionOnClickEmptySpace As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

A Boolean value that specifies whether the current selection is cleared when clicking the empty space.

|

Remarks

To allow items to be checked/selected and specify item selection mode, use the BaseGallery.ItemCheckMode property.

See Also

ItemCheckMode

AllowMarqueeSelection

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace