All pages
Powered by GitBook
1 of 1

Loading...

Padding

Wisej.Web.Padding

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents padding or margin information associated with a user interface (UI) element.

public struct Padding : ValueType, IWisejSerializable
Public Structure Padding
    Implements ValueType, IWisejSerializable

Constructors

Padding(left, top, right, bottom)

Initializes a new instance of the class using a separate padding size for each edge.

Name
Type
Description

Padding(all)

Initializes a new instance of the class using the supplied padding size for all edges.

Name
Type
Description

Properties

All

: Returns or sets the padding value for all the edges.

Bottom

: Returns or sets the padding value for the bottom edge.

Horizontal

: Returns the combined padding for the right and left edges.

IsEmpty

: Returns if the padding is empty.

Left

: Returns or sets the padding value for the left edge.

Right

: Returns or sets the padding value for the right edge.

Size

: Returns the padding information in the form of a .

Top

: Returns or sets the padding value for the top edge.

Vertical

: Returns the combined padding for the top and bottom edges.

Methods

Add(p1, p2)

Computes the sum of the two specified values.

Parameter
Type
Description

Returns: . A that contains the sum of the two specified values.

Subtract(p1, p2)

Subtracts one specified value from another.

Parameter
Type
Description

Returns: . A that contains the result of the subtraction of one specified value from another.

Used By

Name
Description

The padding size, in pixels, for the bottom edge.

Returns or sets the padding inside objects in any 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 values.

Returns the size of the inset border and padding.

left

Int32

The padding size, in pixels, for the left edge.

top

Int32

The padding size, in pixels, for the top edge.

right

Int32

The padding size, in pixels, for the right edge.

all

Int32

The number of pixels to be used for padding for all edges.

p1

Padding

A Padding.

p2

Padding

A Padding.

p1

Padding

A Padding.

p2

Padding

A Padding.

Control.Padding

Returns or sets padding within the control.

Control.Margin

Returns or sets the space between controls.

DataGridViewCellStyle.Padding

Returns or sets the space between the edge of a DataGridViewCell and its content.

LabelWrapper.Padding

Returns or sets the additional padding around the label. This property can be defined in the theme.

UserPopup.Offset

Returns or sets the offset in pixels from the calculated position of the popup.

Padding
Padding
Int32
Int32
Int32
Boolean
Int32
Int32
Size
Size
Int32
Int32
Padding
Padding
Padding
Padding
Padding
Padding
Padding
Padding

bottom

Int32
ListView.ItemPadding
ListViewItem
View
StatusBarPanel.Padding
ToolBarButton.Padding
ToolBarButton.Margin
Padding.Add
Padding
ClientTheme.GetInsets