Beispiel #1
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ColumnSize.Class(ClassProvider), () => ColumnSize != null && UseColumnSizes);

            base.RegisterClasses();
        }
Beispiel #2
0
 protected virtual void RegisterClasses()
 {
     ClassMapper
     .If(() => Class, () => Class != null)
     .If(() => Margin.Class(classProvider), () => Margin != null)
     .If(() => Padding.Class(classProvider), () => Padding != null)
     .If(() => ClassProvider.ToFloat(Float), () => Float != Float.None);
 }
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ClassProvider.ValidationSuccess(), () => !IsTooltip)
            .If(() => ClassProvider.ValidationSuccessTooltip(), () => IsTooltip);

            base.RegisterClasses();
        }
Beispiel #4
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ClassProvider.ContainerFluid(), () => IsFluid)
            .If(() => ClassProvider.Container(), () => !IsFluid);

            base.RegisterClasses();
        }
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ClassProvider.Radio(), () => RadioGroup != null)
            .If(() => ClassProvider.Check(), () => RadioGroup == null)
            .If(() => ClassProvider.CheckCursor(Cursor), () => Cursor != Cursor.Default)
            .If(() => ClassProvider.CheckValidation(ParentValidation?.Status ?? ValidationStatus.None), () => ParentValidation?.Status != ValidationStatus.None);

            base.RegisterClasses();
        }
Beispiel #6
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ClassProvider.ButtonsAddons(), () => Role == ButtonsRole.Addons)
            .If(() => ClassProvider.ButtonsToolbar(), () => Role == ButtonsRole.Toolbar)
            .If(() => ClassProvider.ButtonsVertical(), () => Orientation == Orientation.Vertical)
            .If(() => ClassProvider.ButtonsSize(Size), () => Size != ButtonsSize.None);

            base.RegisterClasses();
        }
Beispiel #7
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ClassProvider.Label(), () => !IsFile && !IsCheck)
            .If(() => ClassProvider.LabelFile(), () => IsFile)
            .If(() => ClassProvider.LabelCheck(), () => IsCheck)
            .If(() => ClassProvider.LabelCursor(Cursor), () => Cursor != Cursor.Default);

            base.RegisterClasses();
        }
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ClassProvider.SimpleTextColor(Color), () => Color != TextColor.None)
            .If(() => ClassProvider.SimpleTextAlignment(Alignment), () => Alignment != TextAlignment.None)
            .If(() => ClassProvider.SimpleTextTransform(Transform), () => Transform != TextTransform.None)
            .If(() => ClassProvider.SimpleTextWeight(Weight), () => Weight != TextWeight.None)
            .If(() => ClassProvider.SimpleTextItalic(), () => IsItalic);

            base.RegisterClasses();
        }
Beispiel #9
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .If(() => ClassProvider.ControlCheck(), () => Role == ControlRole.Check)
            .If(() => ClassProvider.ControlRadio(), () => Role == ControlRole.Radio)
            .If(() => ClassProvider.ControlFile(), () => Role == ControlRole.File)
            .If(() => ClassProvider.ControlText(), () => Role == ControlRole.Text)
            .If(() => ClassProvider.CheckEditInline(), () => IsInline);

            base.RegisterClasses();
        }