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


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

    Property Value

    The value indicates the alignment of the content of this control.
    The default is System.Drawing.ContentAlignment.TopLeft.
    Remarks
    There are nine alignment types for displaying the content. Each type can be set using this property.
    See Also