Skybound Rebar

RebarBand.TextAlign Property

Gets or sets a value that specifies how text is aligned on buttons.

[Visual Basic]
Public Property TextAlign As RebarTextAlign
[C#]
public RebarTextAlign TextAlign {get; set;}

Property Value

One of the RebarTextAlign values. The default is RebarTextAlign.Beside.

Remarks

The text can be located below or beside the image on each button. When the value is Beside, the location of the text depends on the layout; left-to-right layouts display the text on the right, while right-to-left layouts display the text on the left.

Exceptions

Exception Type Condition
InvalidEnumArgumentException The assigned value is not one of the RebarTextAlign values.

See Also

RebarBand Class | Skybound.Rebar Namespace