TX Text Control .NET for Windows Forms

ShowCheckMargin Property

Property|Introduced in 29.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 indicating whether space for a check mark is shown on the left edge of the drop-down menu. The default value is false.

Syntax

public bool ShowCheckMargin { get; set; }

Examples

The following example uses RibbonListViewItemDropDown.ShowCheckMargin to configure show check margin as part of the ribbon list view item drop down workflow. The configured value is checked before the workflow continues.

ribbonListViewItemDropDown.ShowCheckMargin = true;
if (ribbonListViewItemDropDown.ShowCheckMargin)
{
    Console.WriteLine("Ribbon List View Item Drop Down: Show Check Margin is enabled.");
}