예제 #1
0
        public ContentWidget Options(String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #2
0
        public ControlGroupWidget Options(MobileGroupType?type = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => type)
                );

            return(this);
        }
예제 #3
0
        public CheckboxWidget Options(Boolean mini = false, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #4
0
        public FooterWidget Options(MobilePosition?position = null, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => position),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #5
0
        public FlipToggleWidget Options(Boolean mini = false, String trackTheme = null, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => trackTheme),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #6
0
        public NavbarWidget Options(MobileIcon?icon = null, MobileIconPosition?iconpos = null, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => icon),
                JuiceHelpers.GetMemberInfo(() => iconpos),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #7
0
        public CollapsibleSetWidget Options(String contentTheme = null, Boolean mini = false, Boolean inset = true, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => contentTheme),
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => inset),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #8
0
        public PopupWidget Options(Boolean corners = true, Boolean dismissable = true, String overlayTheme = null, Boolean shadow = true, MobileTolerance tolerance = null, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => corners),
                JuiceHelpers.GetMemberInfo(() => dismissable),
                JuiceHelpers.GetMemberInfo(() => overlayTheme),
                JuiceHelpers.GetMemberInfo(() => shadow),
                JuiceHelpers.GetMemberInfo(() => tolerance),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #9
0
 /// <summary>
 /// Extends a ButtonWidget with DialogWidget options.
 /// </summary>
 /// <param name="closeBtnText">Customizes the text of the close button which is helpful for translating this into different languages.</param>,
 /// <param name="domCache">Apply dom-cache.</param>,
 /// <param name="fullscreen">Show dialog in fullscreen.</param>,
 /// <param name="overlayTheme">Overlay theme when the page is opened in a dialog.</param>,
 /// <param name="title">Title used when page is shown.</param>,
 /// <param name="transition">By default, the dialog will open with a 'pop' transition.</param>,
 /// <param name="mini">Compact sized version</param>,
 /// <param name="theme">Defines the theme swatch letter (a-z)</param>
 /// <returns>DialogWidget</returns>
 public static ButtonWidget DialogOptions(this ButtonWidget widget, String closeBtnText = "Close", Boolean domCache = false, Boolean fullscreen = false, String overlayTheme = null, String title = "", MobileTransition?transition = null, Boolean mini = false, String theme = null)
 {
     widget.SetOptions(
         JuiceHelpers.GetMemberInfo(() => closeBtnText),
         JuiceHelpers.GetMemberInfo(() => domCache),
         JuiceHelpers.GetMemberInfo(() => fullscreen),
         JuiceHelpers.GetMemberInfo(() => overlayTheme),
         JuiceHelpers.GetMemberInfo(() => title),
         JuiceHelpers.GetMemberInfo(() => transition),
         JuiceHelpers.GetMemberInfo(() => mini),
         JuiceHelpers.GetMemberInfo(() => theme)
         );
     return(widget);
 }
예제 #10
0
        public CollapsibleWidget Options(Boolean collapsed = true, MobileIcon?collapsedIcon = null, String contentTheme = null, MobileIcon?expandedIcon = null, MobileIconPosition?iconpos = null, Boolean inset = true, Boolean mini = false, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => collapsed),
                JuiceHelpers.GetMemberInfo(() => collapsedIcon),
                JuiceHelpers.GetMemberInfo(() => contentTheme),
                JuiceHelpers.GetMemberInfo(() => expandedIcon),
                JuiceHelpers.GetMemberInfo(() => iconpos),
                JuiceHelpers.GetMemberInfo(() => inset),
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #11
0
        public SliderWidget Options(Boolean highlight = false, String trackTheme = null, int max = 100, int min = 0, Boolean mini = false, String theme = null, int value = 0)
        {
            this.AddAttribute("min", min.ToString());
            this.AddAttribute("max", max.ToString());
            this.AddAttribute("value", value.ToString());

            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => highlight),
                JuiceHelpers.GetMemberInfo(() => trackTheme),
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #12
0
        public SelectWidget Options(MobileIcon?icon = null, MobileIconPosition?iconpos = null, Boolean inline = false, Boolean nativeMenu = true, String overlayTheme = null, Boolean placeholder = false, Boolean mini = false, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => icon),
                JuiceHelpers.GetMemberInfo(() => iconpos),
                JuiceHelpers.GetMemberInfo(() => inline),
                JuiceHelpers.GetMemberInfo(() => nativeMenu),
                JuiceHelpers.GetMemberInfo(() => overlayTheme),
                JuiceHelpers.GetMemberInfo(() => placeholder),
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #13
0
        public PageWidget Options(Boolean addBackBtn = false, String backBtnText = "Back", String backBtnTheme = null, String closeBtnText = "Close", Boolean domCache = false, Boolean fullscreen = false, String overlayTheme = null, String title = "Juice UI Mobile Dialog", String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => addBackBtn),
                JuiceHelpers.GetMemberInfo(() => backBtnText),
                JuiceHelpers.GetMemberInfo(() => backBtnTheme),
                JuiceHelpers.GetMemberInfo(() => closeBtnText),
                JuiceHelpers.GetMemberInfo(() => domCache),
                JuiceHelpers.GetMemberInfo(() => fullscreen),
                JuiceHelpers.GetMemberInfo(() => overlayTheme),
                JuiceHelpers.GetMemberInfo(() => title),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #14
0
        public ListviewWidget Options(String countTheme = "c", String dividertheme = "b", Boolean filter = false, String filterPlaceholder = null, String filterTheme = "c", Boolean inset = false, MobileIcon?splitIcon = null, String splitTheme = "b", String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => countTheme),
                JuiceHelpers.GetMemberInfo(() => dividertheme),
                JuiceHelpers.GetMemberInfo(() => filter),
                JuiceHelpers.GetMemberInfo(() => filterPlaceholder),
                JuiceHelpers.GetMemberInfo(() => filterTheme),
                JuiceHelpers.GetMemberInfo(() => inset),
                JuiceHelpers.GetMemberInfo(() => splitIcon),
                JuiceHelpers.GetMemberInfo(() => splitTheme),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #15
0
        public AnchorWidget Options(String href = "", MobileIcon?icon = null, MobileIconPosition?iconpos = null, Boolean ajax = true, MobileDirection?direction = null, Boolean domCache = false, Boolean inline = false, Boolean prefetch = false, MobileRel?rel = null, MobileTransition?transition = null, Boolean mini = false, String theme = null)
        {
            this.AddAttribute("href", href);

            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => icon),
                JuiceHelpers.GetMemberInfo(() => iconpos),
                JuiceHelpers.GetMemberInfo(() => ajax),
                JuiceHelpers.GetMemberInfo(() => direction),
                JuiceHelpers.GetMemberInfo(() => domCache),
                JuiceHelpers.GetMemberInfo(() => inline),
                JuiceHelpers.GetMemberInfo(() => prefetch),
                JuiceHelpers.GetMemberInfo(() => rel),
                JuiceHelpers.GetMemberInfo(() => transition),
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }
예제 #16
0
        public ButtonWidget Options(Boolean corners = true, MobileIcon?icon = null, MobileIconPosition?iconpos = null, Boolean iconshadow = true, Boolean shadow = true, Boolean ajax = true, MobileDirection?direction = null, Boolean domCache = false, Boolean inline = false, Boolean prefetch = false, MobileRel?rel = null, MobileTransition?transition = null, Boolean mini = false, String theme = null)
        {
            base.SetOptions(
                JuiceHelpers.GetMemberInfo(() => corners),
                JuiceHelpers.GetMemberInfo(() => icon),
                JuiceHelpers.GetMemberInfo(() => iconpos),
                JuiceHelpers.GetMemberInfo(() => iconshadow),
                JuiceHelpers.GetMemberInfo(() => shadow),
                JuiceHelpers.GetMemberInfo(() => ajax),
                JuiceHelpers.GetMemberInfo(() => direction),
                JuiceHelpers.GetMemberInfo(() => domCache),
                JuiceHelpers.GetMemberInfo(() => inline),
                JuiceHelpers.GetMemberInfo(() => prefetch),
                JuiceHelpers.GetMemberInfo(() => rel),
                JuiceHelpers.GetMemberInfo(() => transition),
                JuiceHelpers.GetMemberInfo(() => mini),
                JuiceHelpers.GetMemberInfo(() => theme)
                );

            return(this);
        }