ShowCheckMargin Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public Property ShowCheckMargin As BooleanExamples
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.");
}ribbonListViewItemDropDown.ShowCheckMargin = True
If ribbonListViewItemDropDown.ShowCheckMargin Then
Console.WriteLine("Ribbon List View Item Drop Down: Show Check Margin is enabled.")
End If