Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
 /// <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);
 }