Gets or sets the space between controls.
Syntax
Visual Basic (Declaration) | |
---|
<SRCategoryAttribute("Layout")>
<LocalizableAttribute(True)>
<SRDescriptionAttribute("Specifies space between this control and another control's margin.")>
Public Property Margin As Padding |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim value As Padding
instance.Margin = value
value = instance.Margin |
C# | |
---|
[SRCategoryAttribute("Layout")]
[LocalizableAttribute(true)]
[SRDescriptionAttribute("Specifies space between this control and another control's margin.")]
public Padding Margin {get; set;} |
C++/CLI | |
---|
[SRCategoryAttribute("Layout")]
[LocalizableAttribute(true)]
[SRDescriptionAttribute("Specifies space between this control and another control's margin.")]
public:
property Padding Margin {
Padding get();
void set ( Padding value);
} |
Property Value
A
System.Windows.Forms.Padding representing the space between controls.
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