BcSwitchCard
Description
The BcSwitchCard component provides a card-based toggle switch, allowing users to enable or disable a setting by clicking the card or checkbox.
Base functionality is inherited from BcComponentBase and BcCard .
Parameters
Title
string?
The main title text displayed in the switch card.
SubTitle
string?
The subtitle text displayed below the title in the switch card.
CardType
BcCardType
Specifies the type of the card, affecting its styling.
StatusColor
BcStatusColor
Determines the status color of the switch card, which affects its visual appearance.
Value
bool
The current boolean state of the switch.
ValueChanged
EventCallback < bool >
An event callback that is triggered when the switch state changes.
BcSwitchCardPage.Sample.Title
BcSwitchCardPage.Sample.SwitchCardTitle
BcSwitchCardPage.Sample.SwitchCardSubTitle