DeepWorks Studios Blazor Component Library

Demo user Administrator ยท Blazor Server Library 20261206222504-6e8ff32.dirty

DwsCheckBoxGroup

API Reference

Option descriptions

Each option can carry a Description under its label, announced as the checkbox's description.

Backup targets
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Details" Label="Backup targets" Options="@_backupOptions" @bind-Values="@_backups" />

@code {
    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _backupOptions =
    [
        new() { Value = "local", Text = "Local disk", Description = "Fastest restore, but lost together with the machine." },
        new() { Value = "nas", Text = "Network storage", Description = "Shared with the office; needs VPN access from home." },
        new() { Value = "cloud", Text = "Cloud archive", Description = "Off-site and versioned for 90 days." },
    ];

    private IReadOnlyList<string> _backups = ["local", "cloud"];
}

Tooltips

An option's Tooltip shows over that option; Tooltip on the group shows over the rest of it.

Backup targets
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Tooltips" Label="Backup targets" Options="@_backupTooltipOptions" @bind-Values="@_backupTooltips"
                  Tooltip="Where the nightly backup is written" />

@code {
    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _backupTooltipOptions =
    [
        new() { Value = "local", Text = "Local disk" },
        new() { Value = "nas", Text = "Network storage", Tooltip = @"Mounted as \\nas01\backup" },
        new() { Value = "cloud", Text = "Cloud archive", Tooltip = "Encrypted before upload" },
    ];

    private IReadOnlyList<string> _backupTooltips = ["cloud"];
}

Disabled options

An option's Disabled flag locks only that option; it keeps its state.

Backup targets
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_DisabledOptions" Label="Backup targets" Options="@_backupDisabledOptions" @bind-Values="@_backupDisabled" />

@code {
    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _backupDisabledOptions =
    [
        new() { Value = "local", Text = "Local disk" },
        new() { Value = "cloud", Text = "Cloud archive" },
        new() { Value = "tape", Text = "Tape (retired)", Disabled = true },
    ];

    // A disabled option keeps its state: tape stays checked.
    private IReadOnlyList<string> _backupDisabled = ["local", "tape"];
}

Horizontal layout

Orientation=Horizontal lines the options up in a row that wraps when the space runs out.

Toppings (horizontal)
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Horizontal" Label="Toppings (horizontal)" Options="@_toppingOptions"
                  @bind-Values="@_toppings" Orientation="DwsLayoutOrientation.Horizontal" />

@code {
    private IReadOnlyList<string> _toppings = ["cheese"];

    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _toppingOptions =
    [
        new() { Value = "cheese", Text = "Cheese" },
        new() { Value = "mushrooms", Text = "Mushrooms" },
        new() { Value = "olives", Text = "Olives" },
        new() { Value = "peppers", Text = "Peppers" },
        new() { Value = "onions", Text = "Onions" },
        new() { Value = "pineapple", Text = "Pineapple" },
        new() { Value = "chili", Text = "Chili" },
    ];
}

Columns of a minimum width

MinOptionWidth lays the options out in aligned columns at least that wide - as many as fit, one on a phone.

Toppings (columns of at least 140px)
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Columns" Label="Toppings (columns of at least 140px)" Options="@_toppingOptions"
                  @bind-Values="@_toppingColumns" MinOptionWidth="140" ShowSelectAll="true" />

@code {
    private IReadOnlyList<string> _toppingColumns = ["cheese", "olives"];

    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _toppingOptions =
    [
        new() { Value = "cheese", Text = "Cheese" },
        new() { Value = "mushrooms", Text = "Mushrooms" },
        new() { Value = "olives", Text = "Olives" },
        new() { Value = "peppers", Text = "Peppers" },
        new() { Value = "onions", Text = "Onions" },
        new() { Value = "pineapple", Text = "Pineapple" },
        new() { Value = "chili", Text = "Chili" },
    ];
}

Label at the start

LabelPositionAtStart puts the text first and lines the checkboxes up at the end of the longest text.

Privacy (label at start)
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_LabelStart" Label="Privacy (label at start)" Options="@_privacyOptions"
                  @bind-Values="@_privacy" LabelPositionAtStart="true" ShowSelectAll="true" />

@code {
    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _privacyOptions =
    [
        new() { Value = "profile", Text = "Show my profile to other members" },
        new() { Value = "email", Text = "Show my email" },
        new() { Value = "activity", Text = "Share activity" },
    ];

    private IReadOnlyList<string> _privacy = ["profile"];
}

Custom option content

OptionTemplate replaces an option's text with your own markup - an icon, a badge, formatted text. Clicking it still toggles the option, so keep links and buttons out of it; the Description is still rendered below.

Modules
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Template" Label="Modules" Options="@_moduleOptions" @bind-Values="@_modules">
    <OptionTemplate Context="option">
        <DwsIcon Name="@($"CheckBoxGroupDemo_ModuleIcon_{option.Value}")" Icon="@_moduleIcons[option.Value]" Color="DwsColor.Undefined" Class="me-1" />@option.Text
        @if (option.Value == "chat")
        {
            <span class="badge bg-success ms-1">New</span>
        }
    </OptionTemplate>
</DwsCheckBoxGroup>
<DwsTypography Name="CheckBoxGroupDemo_Template_Values" Typography="DwsTypographyType.Caption" Class="d-block mt-2 mb-0">Values: <code>@FormatValues(_modules)</code></DwsTypography>

@code {
    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _moduleOptions =
    [
        new() { Value = "mail", Text = "Mail" },
        new() { Value = "calendar", Text = "Calendar" },
        new() { Value = "files", Text = "Files", Description = "Includes 50 GB of storage." },
        new() { Value = "chat", Text = "Chat" },
    ];

    private readonly Dictionary<string, string> _moduleIcons = new()
    {
        ["mail"] = Icons.BS.Envelope,
        ["calendar"] = Icons.BS.Calendar,
        ["files"] = Icons.BS.Folder,
        ["chat"] = Icons.BS.ChatDots,
    };

    private IReadOnlyList<string> _modules = ["mail", "calendar"];


    private static string FormatValues<T>(IReadOnlyList<T> values) => $"[{string.Join(", ", values)}]";
}

Fixed columns

Columns lays the options out in a fixed number of columns; together with MinOptionWidth it is the most columns, so a phone gets fewer.

Countries in three columns
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_FixedColumns" Label="Countries in three columns" Options="@_countryOptions"
                  @bind-Values="@_countryColumns" Columns="3" MinOptionWidth="150" ShowSearch="false" />

@code {
    private IReadOnlyList<string> _countryColumns = ["fr", "it"];

    // 14 options: from 12 on (SearchMinOptions) the search box appears by itself.
    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _countryOptions =
    [
        new() { Value = "at", Text = "Austria", Description = "Vienna" },
        new() { Value = "be", Text = "Belgium", Description = "Brussels" },
        new() { Value = "dk", Text = "Denmark", Description = "Copenhagen" },
        new() { Value = "fi", Text = "Finland", Description = "Helsinki" },
        new() { Value = "fr", Text = "France", Description = "Paris" },
        new() { Value = "de", Text = "Germany", Description = "Berlin" },
        new() { Value = "ie", Text = "Ireland", Description = "Dublin" },
        new() { Value = "it", Text = "Italy", Description = "Rome" },
        new() { Value = "nl", Text = "Netherlands", Description = "Amsterdam" },
        new() { Value = "no", Text = "Norway", Description = "Oslo" },
        new() { Value = "pl", Text = "Poland", Description = "Warsaw" },
        new() { Value = "pt", Text = "Portugal", Description = "Lisbon" },
        new() { Value = "es", Text = "Spain", Description = "Madrid" },
        new() { Value = "se", Text = "Sweden", Description = "Stockholm" },
    ];
}

Typed values

The group is generic: TValue can be any type, here an enum. Values that no option offers are kept rather than dropped - useful while options are still loading.

Working days
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Typed" Label="Working days" Options="@_dayOptions" @bind-Values="@_workingDays"
                  Orientation="DwsLayoutOrientation.Horizontal" />
<DwsTypography Name="CheckBoxGroupDemo_Typed_Values" Typography="DwsTypographyType.Caption" Class="d-block mt-2 mb-0">Values: <code>@FormatValues(_workingDays)</code></DwsTypography>

@code {
    private readonly IReadOnlyList<DwsCheckBoxGroupOption<DayOfWeek>> _dayOptions =
    [
        new() { Value = DayOfWeek.Monday, Text = "Mon" },
        new() { Value = DayOfWeek.Tuesday, Text = "Tue" },
        new() { Value = DayOfWeek.Wednesday, Text = "Wed" },
        new() { Value = DayOfWeek.Thursday, Text = "Thu" },
        new() { Value = DayOfWeek.Friday, Text = "Fri" },
        new() { Value = DayOfWeek.Saturday, Text = "Sat" },
        new() { Value = DayOfWeek.Sunday, Text = "Sun" },
    ];

    private IReadOnlyList<DayOfWeek> _workingDays =
        [DayOfWeek.Monday, DayOfWeek.Tuesday, DayOfWeek.Wednesday, DayOfWeek.Thursday, DayOfWeek.Friday];


    private static string FormatValues<T>(IReadOnlyList<T> values) => $"[{string.Join(", ", values)}]";
}

Colors

Color, UnCheckedColor and IndeterminateColor take theme colors.

Primary / warning
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Appearance_Colors" Label="Primary / warning" Options="@_featureOptions"
                  @bind-Values="@_appearanceColors" Color="DwsColor.Primary" UnCheckedColor="DwsColor.Warning"
                  ShowSelectAll="true" IndeterminateColor="DwsColor.Info" />

@code {
    private IReadOnlyList<string> _appearanceColors = ["wifi"];

    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _featureOptions =
    [
        new() { Value = "wifi", Text = "Wi-Fi" },
        new() { Value = "bluetooth", Text = "Bluetooth" },
        new() { Value = "location", Text = "Location" },
    ];
}

Icons

CheckedIcon, UncheckedIcon and IndeterminateIcon take icon classes.

Round icons
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Appearance_Icons" Label="Round icons" Options="@_featureOptions"
                  @bind-Values="@_appearanceIcons" Color="DwsColor.Success"
                  CheckedIcon="@Icons.BS.CheckCircleFill" UncheckedIcon="@Icons.BS.Circle" />

@code {
    private IReadOnlyList<string> _appearanceIcons = ["wifi", "location"];

    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _featureOptions =
    [
        new() { Value = "wifi", Text = "Wi-Fi" },
        new() { Value = "bluetooth", Text = "Bluetooth" },
        new() { Value = "location", Text = "Location" },
    ];
}

Sizes

Size scales the option text and icons from XSmall to XLarge; Medium keeps the surrounding font size.

Small
Large
Show Code
CheckBoxGroup.razor

<div class="d-flex flex-wrap gap-5">
    <DwsCheckBoxGroup Name="CheckBoxGroupDemo_Appearance_Small" Label="Small" Options="@_featureOptions"
                      @bind-Values="@_appearanceSmall" Size="DwsSize.Small" />
    <DwsCheckBoxGroup Name="CheckBoxGroupDemo_Appearance_Large" Label="Large" Options="@_featureOptions"
                      @bind-Values="@_appearanceLarge" Size="DwsSize.Large" Color="DwsColor.Primary" />
</div>

@code {
    private IReadOnlyList<string> _appearanceSmall = ["bluetooth"];
    private IReadOnlyList<string> _appearanceLarge = ["location"];

    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _featureOptions =
    [
        new() { Value = "wifi", Text = "Wi-Fi" },
        new() { Value = "bluetooth", Text = "Bluetooth" },
        new() { Value = "location", Text = "Location" },
    ];
}

Disabled

Disabled greys out the whole group and takes it out of the tab order.

Disabled
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_Disabled" Label="Disabled" Options="@_featureOptions" Values="@_fixedFeatures" Disabled="true" />

@code {
    private readonly IReadOnlyList<string> _fixedFeatures = ["wifi", "location"];

    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _featureOptions =
    [
        new() { Value = "wifi", Text = "Wi-Fi" },
        new() { Value = "bluetooth", Text = "Bluetooth" },
        new() { Value = "location", Text = "Location" },
    ];
}

Read-only

ReadOnly keeps the options focusable and readable but refuses every change.

Read-only
Show Code
CheckBoxGroup.razor

<DwsCheckBoxGroup Name="CheckBoxGroupDemo_ReadOnly" Label="Read-only" Options="@_featureOptions" Values="@_fixedFeatures" ReadOnly="true" />

@code {
    private readonly IReadOnlyList<string> _fixedFeatures = ["wifi", "location"];

    private readonly IReadOnlyList<DwsCheckBoxGroupOption<string>> _featureOptions =
    [
        new() { Value = "wifi", Text = "Wi-Fi" },
        new() { Value = "bluetooth", Text = "Bluetooth" },
        new() { Value = "location", Text = "Location" },
    ];
}

Interface-Description

Name Typ Parameters Description
FocusAsync ValueTask Focuses the first checkbox the user can change ("Select all" when shown), so a form can send the user to the group. Does nothing while every checkbox is disabled or the group is not shown.
ExpandAllAsync Task Expands every branch of a checkbox tree.
CollapseAllAsync Task Collapses every branch of a checkbox tree; the selection is kept.
Name Typ Default Description
TValue type parameter - Type of the option values. Inferred from Options or Values; set it explicitly (TValue="string") when ValuesChanged or OnValuesChanged is a method group.
Options IReadOnlyList<DwsCheckBoxGroupOption<TValue>>? null The checkboxes of the group, in display order. Each option has Value (required), Text, Description (secondary text, announced as the checkbox's description), Disabled (locks only this option; it keeps its state) and Tooltip.
Values IReadOnlyList<TValue> [] Values of the checked options. Supports two-way binding via @bind-Values. Setting it from code never raises ValuesChanged. With ValuesChanged bound, the group shows the values the parent passes back, so a handler that keeps its list refuses the change. Values no option offers are kept at the end of the reported list.
ValuesExpression Expression<Func<IReadOnlyList<TValue>>>? null The bound field, set by @bind-Values. Under static SSR it names the checkboxes, so a form posts one value per checked option under the field name (Model.Tags) and [SupplyParameterFromForm] binds them.
ValueComparer IEqualityComparer<TValue>? null Compares option values with Values. Needed when TValue is a class without value equality and the parent passes other instances than the options hold. Falls back to EqualityComparer<TValue>.Default.
Label string string.Empty The group's name, rendered as the fieldset's legend and announced when focus enters the group.
Orientation DwsLayoutOrientation DwsLayoutOrientation.Vertical Vertical stacks the options; Horizontal lines them up and wraps them when the space runs out.
MinOptionWidth int? null Lays the options out in aligned columns at least this many pixels wide - as many as fit, filled row by row - instead of following Orientation. Narrower than one column, the options take the full width. Values below 1 are ignored.
LabelPositionAtStart bool false Renders each option's text before its checkbox. In a vertical group the checkboxes line up at the end of the longest text.
OptionTemplate RenderFragment<DwsCheckBoxGroupOption<TValue>>? null Custom content for each option's label in place of its Text (an icon, a badge, formatted text). Clicking it still toggles the option, so keep interactive elements out of it. The Description is still rendered below.
Tooltip string string.Empty Tooltip for the whole group (native title). An option's own Tooltip takes its place over that option.
TooltipPosition DwsTooltipPosition DwsTooltipPosition.Top Kept so existing markup still compiles: the tooltip is the browser's native title, which has no position.
ReadOnly bool false Shows the values but refuses every change. Unlike Disabled the options stay focusable and are not greyed out (aria-readonly).
ShowSelectAll bool false Adds a "Select all" checkbox (a DwsCheckBox) that checks every enabled option, or clears them when all are checked. It shows (and announces) a mixed state while only some are checked. Left out while MaxSelected is lower than the number of options, and disabled while clearing would go below MinSelected.
Haptic DwsHapticFeedback DwsHapticFeedback.Selection Tactile feedback of a tap on an option or on "Select all" while the app has haptics switched on; played inside the tap, so also on iOS. Not played while the box cannot change (disabled, read-only, limit reached, register mode).
SelectAllText string? null Label of the "Select all" checkbox. Falls back to the localised "Select all".
MaxSelected int? null The most values that can be checked. Once reached, the unchecked options are disabled, and a localised hint ("Choose up to {0}.") describes the group. Values below 1 are ignored with a logged warning.
MinSelected int? null The fewest values that must stay checked. While only that many are checked they are disabled until another option is checked, and "Select all" does not clear below it. The hint then reads "Choose at least {0}.", "Choose {0} to {1}." or "Choose exactly {0}.". Values below 1 mean no minimum; a minimum above MaxSelected is ignored with a logged warning. Values the parent passes are shown as they are, so validate on submit.
Color DwsColor DwsColor.Text Icon color of checked options, resolved through the theme's CSS variables.
UnCheckedColor DwsColor DwsColor.Text Icon color of unchecked options.
IndeterminateColor DwsColor DwsColor.Warning Icon color of "Select all" while only some options are checked.
Size DwsSize DwsSize.Medium Scales the option text and icons through the theme's font-size variables. Medium keeps the surrounding font size.
CheckedIcon string Icons.BS.CheckSquareFill Icon class of a checked option.
UncheckedIcon string Icons.BS.Square Icon class of an unchecked option.
IndeterminateIcon string Icons.BS.DashSquareFill Icon class of "Select all" while only some options are checked.
Columns int? null Lays the options out in this many aligned columns, filled row by row, instead of following Orientation. Together with MinOptionWidth it is the most columns: fewer are used when that many columns of the minimum width do not fit. Values below 1 are ignored.
ShowSearch bool? null Shows a search box above the options that hides the options whose text and description do not contain the typed text. null shows it once the group has at least SearchMinOptions options, true always, false never. Hidden options keep their state; "Select all" is not offered while a search text is entered.
SearchMinOptions int 12 From how many options on the search box appears while ShowSearch is null. Values below 1 switch the automatic search box off.
SearchPlaceholder string? null Placeholder and accessible name of the search box. Falls back to the localised "Search options".
SearchFilter Func<DwsCheckBoxGroupOption<TValue>, string, bool>? null Decides whether an option matches the search text, in place of the built-in test (text or description contains it, ignoring case).
SearchText string? null The text in the search box. Supports two-way binding via @bind-SearchText.
DwsCheckBoxGroupOption.Children IReadOnlyList<DwsCheckBoxGroupOption<TValue>>? null Options below an option, to any depth. As soon as one option has children the group renders a checkbox tree (role='tree'): parents follow their leaves (checked, mixed or unchecked) and check or clear all of them; a disabled parent disables its branch. Only the rows of expanded branches are rendered.
TreeExpandedDepth int 0 How many levels of a checkbox tree are expanded at first: 0 the top level only, 1 also its children, int.MaxValue everything. Read when the tree is first shown.
TreeReportParents bool false A tree reports the checked leaves in Values. With this set a parent whose leaves are all checked is reported too (before its children), and a parent value passed in Values checks its whole branch.
Name Typ Description
SearchTextChanged EventCallback<string?> Raised when the user types in the search box or empties it with Escape. Used by @bind-SearchText.
ValuesChanged EventCallback<IReadOnlyList<TValue>> Raised with the requested values (a new list in option order) when the user changes an option or "Select all". Used by @bind-Values.
OnValuesChanged EventCallback<IReadOnlyList<TValue>> Raised after every user change with the values the user asked for - the same list ValuesChanged receives. It reports the request, not the outcome: with ValuesChanged bound it is raised even when the parent refuses the change. Stays available when @bind-Values is used.
OnNodeExpanded EventCallback<DwsCheckBoxGroupOption<TValue>> Raised when a branch of a checkbox tree is expanded, with its parent option - the place to load its children.
OnNodeCollapsed EventCallback<DwsCheckBoxGroupOption<TValue>> Raised when a branch of a checkbox tree is collapsed.
Name Typ Default Description
Element ElementReference The associated web component. May be null if accessed before the component is rendered.
ComponentGuid Guid Unique identifier for the component.
TypeString string The name of the component type, obtained from reflection.
Authorized_RegisterEnabled bool false Indicates whether this component is enabled through a permission registry.
Authorized_RegisterSelected bool false Indicates whether this component is selected in permission selection mode.
GetInitializedState bool false Returns whether the component is initialized.
GetRenderModeState DwsRenderMode Returns the current render mode.
GetComponentState DwsComponentStateType Returns the current component state.
GetIsInteractiveState bool false Returns whether the component is interactive.
GetIsPrerenderingState bool false Returns whether the component is prerendering.
GetComponentLoadingState bool false Returns whether the component is loading.
IsFormBusy bool false Whether the DwsForm (or DwsFormBusyRegion) around the component is locked because its submit handler is running. The state itself is the cascaded FormBusyState (IDwsFormBusyState).
Name Typ Parameters Description
DebugInfo void Logs debug information about the component.
UpdateState void Updates the component's state and triggers StateHasChanged.
UpdateStateAsync Task Asynchronously updates the component's state and triggers StateHasChanged.
Dispose void Disposes the component and releases resources.
FocusAsync ValueTask bool containedInScrollableList Sets focus to the component's element.
Name Typ Default Description
Name string Required unique identifier for the component within its container.
Visible bool true Determines if the component is visible in the UI.
Disabled bool false Disables the form control, ensuring it doesn't participate in form submission.
ComponentNameSpace string The namespace for permission-based access control.
PermissionKey string? null A stable key that takes the place of Name in the generated permission namespace (Page.PermissionKey): the stored permission survives a rename, and components that share a key share one permission entry. Null: keyed by Name. Read once, when the component registers; an explicit ComponentNameSpace wins.
Class string Optional CSS class names.
Style string Optional in-line styles.
Tag object An optional user-defined object to store any additional data with the component.
BackReference DwsReference A reference to the enclosing component.
ID string The HTML ID attribute for the component.
AdditionalAttributes Dictionary<string, object> Additional HTML attributes for the component's root element.
IgnorePermissionChecks bool false Bypasses all permission checks for this component.
IgnorePermissionSelection bool false Ignore permission selection mode for this component.
IgnoreFormBusy bool false Takes the component out of the submit lock of the DwsForm (or DwsFormBusyRegion) around it: IsFormBusy stays false for it.
Name Typ Description
OnInitializedCallbackStarted EventCallback Callback when OnInitialized starts.
OnInitializedCallback EventCallback Callback during OnInitialized.
OnInitializedCallbackCompleted EventCallback Callback when OnInitialized completes.
OnInitializedAsyncCallbackStarted EventCallback Callback when OnInitializedAsync starts.
OnInitializedAsyncCallback EventCallback Callback during OnInitializedAsync.
OnInitializedAsyncCallbackCompleted EventCallback Callback when OnInitializedAsync completes.
OnIsComponentLoadingChanged EventCallback<bool> Callback when IsComponentLoading changes.
OnCurrentRenderModeChanged EventCallback<DwsRenderMode> Callback when CurrentRenderMode changes.
OnComponentStateChanged EventCallback<DwsComponentStateType> Callback when ComponentState changes.
An error has occurred. This app may no longer respond until reloaded.