ListPadding Structure

This structure is used to specify the padding (in pixels) for the RadioButtonList and CheckBoxList controls.

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
[SerializableAttribute]
[TypeConverterAttribute(typeof(ListPaddingTypeConverter))]
public struct ListPadding
Inheritance
Object    ValueType    ListPadding

Constructors

ListPadding(Int32) Constructor. Set all padding to the same value.
ListPadding(Int32, Int32, Int32, Int32, Int32, Int32) Constructor. Set padding on each side and between columns and rows to the specified values.

Properties

Bottom Get or set the bottom padding
Column Get or set the padding between columns
Left Get or set the left side padding
Right Get or set the right side padding
Row Get or set the padding between rows
Top Get or set the top padding

Methods

Equals This is overridden to allow proper comparison of ListPadding objects
(Overrides ValueTypeEquals(Object))
GetHashCode Get a hash code for the ListPadding object
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToString This is overridden to get a string representation of the ListPadding object
(Overrides ValueTypeToString)

Operators

Equality(ListPadding, ListPadding) Overload for equal operator
Inequality(ListPadding, ListPadding) Overload for not equal operator

See Also