Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinButton Class / Margins Property


In This Topic
    Margins Property (WinButton)
    In This Topic
    Gets or sets the width of the button's margins, in pixels.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The width of the button's margins, in pixels.")>
    <CategoryAttribute("Appearance")>
    Public Property Margins As Margins
    'Usage
     
    Dim instance As WinButton
    Dim value As Margins
     
    instance.Margins = value
     
    value = instance.Margins
    [Description("The width of the button's margins, in pixels.")]
    [Category("Appearance")]
    public Margins Margins {get; set;}

    Property Value

    A value representing the width, in pixels, of the button's margins. By default, DefaultMargins.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also