public ButtonParameters(ButtonIcon icon, ButtonType type, string text, ButtonRole buttonRole, ButtonIconColor buttonIconColor, ButtonHeight buttonHeight, bool enabled, string width, string toolTip = null) { ButtonIcon = icon; Text = text; ButtonRole = buttonRole; ButtonIconColor = buttonIconColor; ButtonHeight = buttonHeight; Type = type; Enabled = enabled; Width = ProcessWidth(width); ToolTip = toolTip; }
public ButtonParameters(ButtonIcon icon, ButtonIconColor iconColor, ButtonRole buttonRole, string buttonText) : this(icon, ButtonType.ImageText, buttonText, buttonRole, iconColor, ButtonHeight.Normal, true, null) { }
public ButtonParameters(ButtonIcon icon, ButtonIconColor iconColor, ButtonRole buttonRole, ButtonHeight buttonHeight) : this(icon, ButtonType.Image, null, buttonRole, iconColor, buttonHeight, true, null) { }
public ButtonParameters(ButtonIcon icon, ButtonIconColor iconColor) : this(icon, iconColor, null) { }
public ButtonParameters IconColor(ButtonIconColor buttonIconColor) { ButtonIconColor = buttonIconColor; return(this); }
public IconParameters(ButtonIcon buttonIcon, ButtonIconColor buttonIconColor = ButtonIconColor.Black) { ButtonIcon = buttonIcon; ButtonIconColor = buttonIconColor; }