New to Telerik UI for .NET MAUI? Start a free 30-day trial

.NET MAUI RadioButton ToolbarItem

You can add radio buttons in the toolbar control using the RadioButtonToolbarItem.

The available properties for configuration are:

  • IsSelected(bool)—Specifies whether the button is selected.
  • Text(string)—Defines the text(target type Label) in the toolbar item. You can display an image next to the text.
  • ImageSource(Microsoft.Maui.Controls.ImageSource)—Specifies the source of the image to display in the toolbar item.

Events

  • IsSelectedChanged&mdash:Raised when the IsSelected property has changed.
  • Clicked&mdash:Raised when the button is clicked.

Commands

The available commands are:

  • Command(ICommand)—Specfies the command to execute when the button is clicked.
  • Command(object)—Specfies the parameter of the command, which is executed when the button is clicked.

Styling

Use the Styele property with target type Telerik.Maui.Controls.RadioButtonToolbarItemView. The properties that can be applied through style are: IsSelected and all properties available for the ButtonToolbarItemView, LabelToolbarItemView and ToolbarItemView.

See Also

In this article
Not finding the help you need?