TX Text Control .NET for Windows Forms

Deselectable Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value whether a selected RibbonListViewItem can be deselected by clicking into a cell that does not contain a RibbonListViewItem or clicking on it in combination with the pressed Ctrl key.

Syntax

public bool Deselectable { get; set; }

Examples

The following example uses RibbonListView.Deselectable to configure deselectable as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

ribbonListView.Deselectable = true;
ribbonListView.Update();