public NextPreviousPager SetPrevious(string text, string url, IconType icon)
 {
     PreviousUrl = url;
     PreviousText = text;
     PreviousIcon = icon;
     return this;
 }
 public NextPreviousPager SetNext(string text, string url, IconType icon)
 {
     NextUrl = url;
     NextText = text;
     NextIcon = icon;
     return this;
 }
Ejemplo n.º 3
0
 public LinkButton(string text, string url, string target = null, ButtonAppearanceType appearance = null, ButtonSize size = null, IconType icon = null, IconPosition position = null, Popover popover = null, string clientId = null)
     : base("_LinkButton",clientId)
 {
     SetLink(text, url)
         .SetTarget(target)
         .SetAppearance(appearance)
         .SetIcon(icon, position)
         .SetSize(size)
         .SetPopover(popover);
 }
Ejemplo n.º 4
0
 public SelectOption(string text, string value, bool selected = false, IconType iconType = null, string subText = null, bool divider = false, bool disabled = false, string clientId = null)
     : base("_SelectOption",clientId)
 {
     SetTextAndValue(text, value)
         .SetSelected(selected)
         .SetIcon(iconType)
         .SetDivider(divider)
         .SetDisabled(disabled)
         .SetSubText(subText);
 }
Ejemplo n.º 5
0
 public Icon(IconType iconType, IconSize size = null, IconRotation rotation = null, bool borderVisible = false, bool spin = false, bool pullRight = false, bool listItem = false, Popover popover = null, bool fixedWidth = false, string clientId = null)
     : base("_Icon", clientId)
 {
     SetBorderVisible(borderVisible)
         .SetSize(size)
         .SetRotation(rotation)
         .SetType(iconType)
         .SetSpin(spin)
         .SetPullRight(pullRight)
         .SetListItem(listItem)
         .SetPopover(popover)
         .SetFixedWidth(fixedWidth);
 }
Ejemplo n.º 6
0
        public NavLink(string text, 
			string url, 
			IconType icon = null, 
			IconPosition position = null, 
			bool active = false, 
			bool disabled= false,
			bool iconPullRight = false,
			DataToggle dataToggle = DataToggle.None,
			string clientId = null)
            : base("_NavLink", clientId)
        {
            SetText(text)
                .SetUrl(url)
                .SetIcon(icon,position, iconPullRight)
                .SetActive(active)
                .SetDisabled(disabled)
                .SetDataToggle(dataToggle);
        }
 public NextPreviousPager(string nextText, string nextUrl, string prevText, string prevUrl, IconType nextIcon = null, IconType prevIcon = null, PagerPosition position = PagerPosition.Center,  string clientId = null)
     : base("_NextPreviousPager", clientId)
 {
     SetNext(nextText, nextUrl, nextIcon).SetPrevious(prevText, prevUrl, prevIcon).SetPosition(position);
 }
Ejemplo n.º 8
0
 public Icon SetType(IconType type)
 {
     IconType = type;
     return this;
 }
Ejemplo n.º 9
0
 public NavLink SetIcon(IconType icon, IconPosition position, bool pullRight = false)
 {
     IconType = icon;
     IconPosition = position ?? IconPosition.Left;
     IconPullRight = pullRight;
     return this;
 }
 public NumericPagerPageLink SetIcon(IconType icon)
 {
     Icon = icon;
     return this;
 }
 public NumericPagerPageLink(IconType icon, string url, bool active = false, bool disabled = false, string clientId = null)
     : base("_NumericPagerPageLink", clientId)
 {
     SetIcon(icon).SetUrl(url).SetDisabled(disabled).SetActive(active);
 }
Ejemplo n.º 12
0
 public LinkButton SetIcon(IconType icon, IconPosition position)
 {
     IconType = icon;
     IconPosition = position ?? IconPosition.Left;
     return this;
 }
Ejemplo n.º 13
0
 public BulletListItem(string text, IconType iconType = null, string clientId = null)
     : base("_BulletListItem", clientId)
 {
     Text = text;
     IconType = iconType;
 }
Ejemplo n.º 14
0
 public SelectOption SetIcon(IconType iconType)
 {
     IconType = iconType;
     return this;
 }