// Would like to use <inheritdoc/> however DocFX cannot resolve to references outside Material.Blazor protected override async Task OnInitializedAsync() { await base.OnInitializedAsync(); ConditionalCssClasses .AddIf("mdc-card--outlined", () => CascadingDefaults.AppliedStyle(CardStyle) == MBCardStyle.Outlined); }
// Would like to use <inheritdoc/> however DocFX cannot resolve to references outside Material.Blazor protected override void OnInitialized() { base.OnInitialized(); ClassMapper .Add("mdc-card") .AddIf("mdc-card--outlined", () => CascadingDefaults.AppliedStyle(CardStyle) == MBCardStyle.Outlined); }
// Would like to use <inheritdoc/> however DocFX cannot resolve to references outside Material.Blazor protected override async Task OnInitializedAsync() { await base.OnInitializedAsync(); ClassMapperInstance .Add("mdc-card") .AddIf("mdc-card--outlined", () => CascadingDefaults.AppliedStyle(CardStyle) == MBCardStyle.Outlined); }
// Would like to use <inheritdoc/> however DocFX cannot resolve to references outside Material.Blazor protected override async Task OnInitializedAsync() { await base.OnInitializedAsync(); ConditionalCssClasses .AddIf(DensityInfo.CssClassName, () => DensityInfo.ApplyCssClass && NumberOfLines == 1 && AppliedListType != MBListType.Dense) .AddIf("mdc-card--outlined", () => (CascadingDefaults.AppliedStyle(AppliedListStyle) == MBListStyle.Outlined)) .AddIf("mdc-deprecated-list--two-line", () => (NumberOfLines == 2)) .AddIf("mb-list--three-line", () => (NumberOfLines == 3)) .AddIf("mdc-deprecated-list--non-interactive", () => NonInteractive) .AddIf("mdc-deprecated-list--dense", () => AppliedListType == MBListType.Dense) .AddIf("mdc-deprecated-list--avatar-list", () => AppliedListType == MBListType.Avatar); }
// Would like to use <inheritdoc/> however DocFX cannot resolve to references outside Material.Blazor protected override void OnInitialized() { base.OnInitialized(); ClassMapperInstance .Add("mdc-list") .AddIf(DensityInfo.CssClassName, () => DensityInfo.ApplyCssClass && NumberOfLines == 1 && AppliedListType != MBListType.Dense) .AddIf("mdc-card--outlined", () => (CascadingDefaults.AppliedStyle(AppliedListStyle) == MBListStyle.Outlined)) .AddIf("mdc-list--two-line", () => (NumberOfLines == 2)) .AddIf("mb-list--three-line", () => (NumberOfLines == 3)) .AddIf("mdc-list--non-interactive", () => NonInteractive) .AddIf("mdc-list--dense", () => AppliedListType == MBListType.Dense) .AddIf("mdc-list--avatar-list", () => AppliedListType == MBListType.Avatar); }