public static string GetName(IconAlign type) { string result = String.Empty; switch (type) { case IconAlign.Top: result = "top"; break; case IconAlign.Left: result = "left"; break; case IconAlign.Bottom: result = "bottom"; break; case IconAlign.Right: result = "right"; break; default: result = "left"; break; } return(result); }
public static string GetName(IconAlign type) { string result = String.Empty; switch (type) { case IconAlign.Top: result = "top"; break; case IconAlign.Left: result = "left"; break; case IconAlign.Bottom: result = "bottom"; break; case IconAlign.Right: result = "right"; break; default: result = "left"; break; } return result; }
/// <summary> /// The side of the Button box to render the icon. Defaults to 'Left'. /// </summary> public virtual TBuilder IconAlign(IconAlign iconAlign) { this.ToComponent().IconAlign = iconAlign; return(this as TBuilder); }