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


In This Topic
    ImageAlign Property (WinButton)
    In This Topic
    Gets or sets the alignment of the button's image.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The alignment of the button's image")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <LocalizableAttribute(True)>
    Public Property ImageAlign As ContentAlignment
    'Usage
     
    Dim instance As WinButton
    Dim value As ContentAlignment
     
    instance.ImageAlign = value
     
    value = instance.ImageAlign
    [Description("The alignment of the button's image")]
    [Category("Appearance")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [Localizable(true)]
    public ContentAlignment ImageAlign {get; set;}

    Property Value

    A System.Drawing.ContentAlignment value indicating the alignment of the button's image.
    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