Beispiel #1
0
        public ToolbarButton(string imageUrl, string text, ButtonClasses cssClasses)
        {
            Text     = text;
            ImageUrl = imageUrl;

            CssClass         = cssClasses.CssClass;
            CssClassEnabled  = cssClasses.CssClassEnabled;
            CssClassDisabled = cssClasses.CssClassDisabled;
            CssClassSelected = cssClasses.CssClassSelected;
        }
Beispiel #2
0
        public ToolbarButton(string imageUrl, string text, ButtonClasses cssClasses, bool enabled, bool visible, bool selected)
        {
            Text     = text;
            ImageUrl = imageUrl;
            Enabled  = enabled;
            Visible  = visible;
            Selected = selected;

            CssClass         = cssClasses.CssClass;
            CssClassEnabled  = cssClasses.CssClassEnabled;
            CssClassDisabled = cssClasses.CssClassDisabled;
            CssClassSelected = cssClasses.CssClassSelected;
        }