예제 #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;
        }
예제 #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;
        }