/// <summary>
 /// The text alignment for this button (center, left, right). Defaults to: \"center\"
 /// </summary>
 public virtual TBuilder TextAlign(ButtonTextAlign textAlign)
 {
     this.ToComponent().TextAlign = textAlign;
     return(this as TBuilder);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the text alignment for this button.
 /// </summary>
 /// <param name="align">The new alignment of the button text.</param>
 protected virtual void SetTextAlign(ButtonTextAlign align)
 {
     this.Call("setTextAlign", align.ToString().ToLowerInvariant());
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets the text alignment for this button.
 /// </summary>
 /// <param name="align">The new alignment of the button text.</param>
 protected virtual void SetTextAlign(ButtonTextAlign align)
 {
     this.Call("setTextAlign", align.ToString().ToLowerInvariant());
 }