示例#1
0
        protected override void RegisterStyles()
        {
            StyleMapper
            .If(() => StyleProvider.ModalShow(), () => IsOpen);

            base.RegisterStyles();
        }
示例#2
0
        protected override void BuildStyles(StyleBuilder builder)
        {
            builder.Append(StyleProvider.ModalShow(), Visible);

            base.BuildStyles(builder);
        }