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; }
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); }
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); }
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); }
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); }
public Icon SetType(IconType type) { IconType = type; return this; }
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); }
public LinkButton SetIcon(IconType icon, IconPosition position) { IconType = icon; IconPosition = position ?? IconPosition.Left; return this; }
public BulletListItem(string text, IconType iconType = null, string clientId = null) : base("_BulletListItem", clientId) { Text = text; IconType = iconType; }
public SelectOption SetIcon(IconType iconType) { IconType = iconType; return this; }