Radzen Blazor ToggleButton is a button that changes its appearance or color when activated and returns to its original state when deactivated.
Toggle buttons are versatile and can be used for various purposes, including filtering. You could have toggle buttons for different categories or criteria, and users can activate or deactivate them to filter content based on their preferences. For example, if you have a list of items and each item belongs to a certain category, toggle buttons could be used to show or hide items from specific categories, creating a customized and dynamic filtering system.
Binding Radzen ToggleButton's Value.
Notifications
OFF
Use ToggleButtonShade
to define the shade of the ToggleButton's toggled active state.
Use ToggleButtonStyle
to define the style of the ToggleButton's toggled active state.
Use Variant
for different button variants.
Text, icons and images can be added to a button. Use ToggleIcon
in case you need to change the icon when the button is toggled.
Use the Size
property to set button size. Available sizes are ExtraSmall, Small, Medium (default), and Large.
Use Disabled="true"
to disable a button.
The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor ToggleButton component.
Press this key | To do this |
---|---|
Tab | Navigate to a ToggleButton. |
Enter | Click and toggle the focused ToggleButton. |
Space | Click and toggle the focused ToggleButton. |
Whether you prefer a standalone environment or integration directly within Visual Studio, Radzen provides a powerful toolkit to increase development speed, reduce repetitive coding, and focus on building exceptional applications.
Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles.
Radzen Blazor for Visual Studio extension streamlines Blazor development within the Visual Studio environment. The Blazor extension you need to boost productivity!
Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under
MIT