BaseButtonListListPadding Property

Get or set the padding values (in pixels) for the space around the button list and between its columns and rows.

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public ListPadding ListPadding { get; set; }

Property Value

ListPadding

The Top and Left values are always applied to the left most column and top row. The Bottom value is used when LayoutMethod is set to DownThenAcross to determine how close an item can come to the bottom border before forcing a new column. The Right value is used when LayoutMethod is set to AcrossThenDown to determine how close an item can come to the right border before forcing a new row. The Column and Row values are used for the spacing between columns and rows.

The defaults are four pixels for the top and bottom, eight pixels for the left and right borders, four pixels between columns and no extra space between rows.

See Also