Esempio n. 1
0
 public Nav(NavType type, bool justified = false, bool affix = false, int affixOffset = 0, string clientId = null)
     : base("_Nav", clientId)
 {
     SetType(type)
         .SetJustified(justified)
         .SetAffix(affix,affixOffset);
 }
Esempio n. 2
0
 public Nav SetType(NavType type)
 {
     Type = type ?? NavType.Tabs;
     return this;
 }
Esempio n. 3
0
 public static IDisposable UxNav(this HtmlHelper htmlHelper, NavType type, bool justified = false, bool affix = false, int affixOffset = 0, string clientId = null)
 {
     var pager = new Nav(type, justified, affix, affixOffset, clientId);
     return RenderUxDispoableWebControl(htmlHelper, pager);
 }