Exemple #1
0
        protected override void BuildClasses(ClassBuilder builder)
        {
            builder.Append(ClassProvider.BarToggler());
            builder.Append(ClassProvider.BarTogglerCollapsed(Visible));

            base.BuildClasses(builder);
        }
Exemple #2
0
        protected override void BuildClasses(ClassBuilder builder)
        {
            builder.Append(ClassProvider.BarToggler(ParentStore.Mode));
            builder.Append(ClassProvider.BarTogglerCollapsed(ParentStore.Mode, ParentStore.Visible));

            base.BuildClasses(builder);
        }
Exemple #3
0
        /// <inheritdoc/>
        protected override void BuildClasses(ClassBuilder builder)
        {
            builder.Append(ClassProvider.BarToggler(ParentBarState?.Mode ?? BarMode.Horizontal, Mode));
            builder.Append(ClassProvider.BarTogglerCollapsed(ParentBarState?.Mode ?? BarMode.Horizontal, Mode, ParentBarState.Visible));

            base.BuildClasses(builder);
        }
Exemple #4
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .Add(() => ClassProvider.BarToggler())
            .Add(() => ClassProvider.BarTogglerCollapsed(IsOpen));

            base.RegisterClasses();
        }