public QuickMenuButton(UrlDescriptor url, string text, MetronicColor color = MetronicColor.success, string @class = null) { Url = url; Text = text; Class = @class; _color = color; }
public TableBuilder <T> QuickMenuAddButton(UrlDescriptor url, string text, MetronicColor color = MetronicColor.success, string @class = null) { _descriptor.QuickMenu.AddButton(url, text, color, @class); return(this); }
public TableBuilder <T> QuickMenuAddLink(UrlDescriptor url, string text, string icon = null) { _descriptor.QuickMenu.AddLink(url, text, icon); return(this); }
public QuickMenuLink(UrlDescriptor url, string text, string icon = null) { Url = url; Text = text; Icon = icon; }
public void AddLink(UrlDescriptor url, string text, string icon = null) { Links.Add(new QuickMenuLink(url, text, icon)); }
public void AddButton(UrlDescriptor url, string text, MetronicColor color = MetronicColor.success, string @class = null) { Buttons.Add(new QuickMenuButton(url, text, color, @class)); }