Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / DisplayAlignment Property


In This Topic
    DisplayAlignment Property (GcTextBox)
    In This Topic
    Gets or sets the text alignment displayed in the horizontal axis when the control does not have input focus.
    Syntax
    'Declaration
     
    
    Public Property DisplayAlignment As DisplayAlignment
    'Usage
     
    
    Dim instance As GcTextBox
    Dim value As DisplayAlignment
     
    instance.DisplayAlignment = value
     
    value = instance.DisplayAlignment
    public DisplayAlignment DisplayAlignment {get; set;}

    Property Value

    One of the DisplayAlignment enumeration values that specifies how text is aligned in the control.
    The default is DisplayAlignment.None.
    Remarks
    This property is used to display text with different character spacing settings. If the text of this GcTextBox is longer than this control's width, the character spacing effect disappears.
    See Also