Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CharBox Class / ContentAlignment Property


In This Topic
    ContentAlignment Property (CharBox)
    In This Topic
    Gets or sets the content alignment of the char box.
    Syntax
    'Declaration
     
    
    Public Property ContentAlignment As ContentAlignment
    'Usage
     
    
    Dim instance As CharBox
    Dim value As ContentAlignment
     
    instance.ContentAlignment = value
     
    value = instance.ContentAlignment
    public ContentAlignment ContentAlignment {get; set;}

    Property Value

    A ContentAlignment value indicates the content alignment of the char box.
    The default is System.Drawing.ContentAlignment.MiddleCenter.
    Remarks
    This property determines the text alignment of the CharBox
    See Also