Spread Windows Forms 13.0 Product Documentation
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementStyle Class / AlignHorz Property


In This Topic
    AlignHorz Property (ElementStyle)
    In This Topic
    Gets or sets the horizontal alignment for the style.
    Syntax
    'Declaration
     
    Public Overridable Property AlignHorz As HorizontalAlignment
    'Usage
     
    Dim instance As ElementStyle
    Dim value As HorizontalAlignment
     
    instance.AlignHorz = value
     
    value = instance.AlignHorz
    public virtual HorizontalAlignment AlignHorz {get; set;}

    Property Value

    HorizontalAlignment setting that determines the alignment of text
    Remarks

    Specify the vertical alignment of the contents by setting the AlignVert property. Specify the alignment of the text and picture in the control, if applicable, by setting the AlignText property.

    See Also