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

.NET MAUI TemplatedPicker Methods

The TemplatedPicker for .NET MAUI allows you to clear the selected value through its ClearSelection method.

  1. Define the TemplatedPicker:

      <Button Clicked="OnClearSelectionClicked" Text="clear selection"/>
      <telerik:RadTemplatedPicker x:Name="picker">
                  <telerik:RadCalendar SelectedDate="{TemplateBinding SelectedValue, Mode=TwoWay}"/>
  2. Clear the selection inside the button click event:

    private void OnClearSelectionClicked(object sender, EventArgs e)
  3. Add the following namespace:


See Also

In this article
Not finding the help you need?