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


In This Topic
    TextAlign Property (WinCheckBox)
    In This Topic
    Gets or sets the horizontal and vertical alignment of the checkbox in the WinCheckBox control.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The horizontal and vertical alignment of the checkbox in the WinCheckBox control.")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <CategoryAttribute("Appearance")>
    Public Property TextAlign As ContentAlignment
    'Usage
     
    Dim instance As WinCheckBox
    Dim value As ContentAlignment
     
    instance.TextAlign = value
     
    value = instance.TextAlign
    [Description("The horizontal and vertical alignment of the checkbox in the WinCheckBox control.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [Category("Appearance")]
    public ContentAlignment TextAlign {get; set;}

    Property Value

    A System.Drawing.ContentAlignment representing the horizontal and vertical alignment of the checkbox in the WinCheckBox control. By default, ContentAlignment.MiddleLeft.
    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