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

Migrating the DateTimePicker from Xamarin to .NET MAUI

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

Migrating the Namespaces

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

Modifying the API

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

See Also