Visual Basic (Declaration) | |
---|---|
Public Shadows Property Padding As Padding |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EditBase Dim value As Padding instance.Padding = value value = instance.Padding |
C# | |
---|---|
public new Padding Padding {get; set;} |
Property Value
A System.Windows.Forms.Padding object that represents the control's internal spacing characteristics.The default is "1,1,1,1".
The Padding property indicates the rectangle used for displaying the text. The rectangle is between the border and display area and excludes the side button areas.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8