TX Text Control .NET for Windows Forms

CellPadding 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 the amount of space between the cell's item and the cell's border.

Syntax

public Padding CellPadding { get; set; }

Examples

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();