Skip to content

Padding Property

Description

Gets or sets the padding inside a control.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Padding() As MarkupThickness

Return Type

A MarkupThickness structure specifying the amount of padding to apply, in pixels. This is the amount of space between the content of a control and its margin or border. The default is a thickness of 0 on all four sides.

Remarks

Padding is specified in the order Left, Top, Right, and Bottom.

Padding can be described as uniform in all directions (e.g., Padding="15"), or as four distinct values that represent left, top, right, and bottom padding independently (e.g., Padding="15,10,15,10").

See Also


See Also

Markup ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.