CellPadding 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 the amount of space between the cell's item and the cell's border.
Syntax
public Padding CellPadding { get; set; }Public Property CellPadding As PaddingExamples
The following example uses RibbonListView.CellPadding to configure cell padding as part of the ribbon list view workflow. The change is then applied to the active document or user interface.
ribbonListView.CellPadding = default(System.Windows.Forms.Padding);
ribbonListView.Update();ribbonListView.CellPadding = Nothing
ribbonListView.Update()