Gets or sets padding within the control.
Syntax
Visual Basic (Declaration) | |
---|
<SRDescriptionAttribute("Specifies the interior spacing of a control.")>
<LocalizableAttribute(True)>
<SRCategoryAttribute("Layout")>
Public Property Padding As Padding |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim value As Padding
instance.Padding = value
value = instance.Padding |
C# | |
---|
[SRDescriptionAttribute("Specifies the interior spacing of a control.")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Layout")]
public Padding Padding {get; set;} |
Property Value
A
System.Windows.Forms.Padding representing the control's internal spacing characteristics.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also