New to Telerik UI for .NET MAUIStart a free 30-day trial

Migrating the DatePicker from Xamarin to .NET MAUI

The Telerik UI for .NET MAUI DatePicker preserves the same API as its Xamarin counterpart except for the configuration options listed in this article.

Migrating the Namespaces

The following table lists the namespaces you need to update when migrating the DatePicker from Xamarin to .NET MAUI.

ControlControl NameXAML NamespcaceC# Namespace
Xamarin DatePickerRadDatePickerxmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"using Telerik.XamarinForms.Input;
.NET MAUI DatePickerRadDatePickerxmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"using Telerik.Maui.Controls;

Modifying the API

The following table lists the API reference calls you need to update when migrating the DatePicker from Xamarin to .NET MAUI.

Xamarin DatePicker.NET MAUI DatePicker
SelectorSettingsPopupSettings
PickerPopupSelectorSettingsPickerPopupSettings
-PickerMode
-DropDownSettings
-PickerDropDownSettings
-IsToggleButtonVisible
-ToggleButtonStyle
-IsClearButtonVisible
-ClearButtonStyle

See Also