Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBoxCellType Class / DisplayAlignment Property


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

    Property Value

    One of the GcTextBox.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