Visual Basic (Declaration) | |
---|---|
Public Property Padding As PaddingEx |
C# | |
---|---|
public PaddingEx Padding {get; set;} |
This property has five settings at design time: All, Left, Top, Right, and Bottom. More settings, like Vertical and Horizontal, are available in code. The All property has a default value of -1, which means that all of the Padding values are not equal. Change this value to 10, and a space ten pixels wide is left around the text on all sides. The Left, Top, Right, and Bottom properties are 0, 0, 0, 0 by default.