Nevron.UI.WinForm.Controls Namespace / NButton Class / ContentAlign Property


In This Topic
    ContentAlign Property (NButton)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.BrowsableAttribute(True)>
    <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Always)>
    <System.ComponentModel.DescriptionAttribute("Gets/Sets the aligment of the text in its bounds. Applies if SyncContentAndTextAlign is false.")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property ContentAlign As System.Drawing.StringAlignment
    'Usage
     
    
    Dim instance As NButton
    Dim value As System.Drawing.StringAlignment
     
    instance.ContentAlign = value
     
    value = instance.ContentAlign
    [System.ComponentModel.Browsable(true)]
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Always)]
    [System.ComponentModel.Description("Gets/Sets the aligment of the text in its bounds. Applies if SyncContentAndTextAlign is false.")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public System.Drawing.StringAlignment ContentAlign {get; set;}
    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