Wisej.Web.Padding
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents padding or margin information associated with a user interface (UI) element.
Initializes a new instance of the Padding class using a separate padding size for each edge.
Name | Type | Description |
---|---|---|
Initializes a new instance of the Padding class using the supplied padding size for all edges.
Name | Type | Description |
---|---|---|
Int32: Returns or sets the padding value for all the edges.
Int32: Returns or sets the padding value for the bottom edge.
Int32: Returns the combined padding for the right and left edges.
Boolean: Returns if the padding is empty.
Int32: Returns or sets the padding value for the left edge.
Int32: Returns or sets the padding value for the right edge.
Size: Returns the padding information in the form of a Size.
Int32: Returns or sets the padding value for the top edge.
Int32: Returns the combined padding for the top and bottom edges.
Computes the sum of the two specified Padding values.
Returns: Padding. A Padding that contains the sum of the two specified Padding values.
Subtracts one specified Padding value from another.
Returns: Padding. A Padding that contains the result of the subtraction of one specified Padding value from another.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
p1
A Padding.
p2
A Padding.
p1
A Padding.
p2
A Padding.
Returns or sets padding within the control.
Returns or sets the space between controls.
Returns or sets the space between the edge of a DataGridViewCell and its content.
Returns or sets the additional padding around the label. This property can be defined in the theme.
Returns or sets the offset in pixels from the calculated position of the popup.
Returns or sets the padding inside ListViewItem objects in any View mode.
Returns or sets padding within the statusbar panel.
Returns or sets padding within the toolbar button.
Returns or sets the space between toolbar buttons.
Computes the sum of the two specified Padding values.
Returns the size of the inset border and padding.
left
The padding size, in pixels, for the left edge.
top
The padding size, in pixels, for the top edge.
right
The padding size, in pixels, for the right edge.
bottom
The padding size, in pixels, for the bottom edge.
all
The number of pixels to be used for padding for all edges.