protected override void RegisterStyles() { StyleMapper .If(() => StyleProvider.ModalShow(), () => IsOpen); base.RegisterStyles(); }
protected override void BuildStyles(StyleBuilder builder) { builder.Append(StyleProvider.ModalShow(), Visible); base.BuildStyles(builder); }