# Migrating the TimeSpanPicker from Xamarin to .NET MAUI

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

## Migrating the Namespaces

| Control                  | Control name        | XAML Namespace                                                                                                 | C# Namespace                      |
| ------------------------ | ------------------- | -------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| Xamarin TimeSpanPicker   | `RadTimeSpanPicker` | xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"              | using Telerik.XamarinForms.Input; |
| .NET MAUI TimeSpanPicker | `RadTimeSpanPicker` | xmlns:telerik="[http://schemas.telerik.com/2022/xaml/maui"\`](http://schemas.telerik.com/2022/xaml/maui%22%60) | using Telerik.Maui.Controls;      |

## Modifying the API

| Xamarin TimeSpanPicker        | .NET MAUI TimeSpanPicker |
| ----------------------------- | ------------------------ |
| `SelectorSettings`            | `PopupSettings`          |
| `PickerPopupSelectorSettings` | `PickerPopupSettings`    |
| -                             | `PickerMode`             |
| -                             | `DropDownSettings`       |
| -                             | `PickerDropDownSettings` |
| -                             | `IsToggleButtonVisible`  |
| -                             | `ToggleButtonStyle`      |
| -                             | `IsClearButtonVisible`   |
| -                             | `ClearButtonStyle`       |

## See Also

* [Migrating from Xamarin.Forms to .NET MAUI](https://www.telerik.com/maui-ui/documentation/migrate-to-net-maui)
* [.NET MAUI Sample Applications](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/overview)

- [.NET MAUI TimeSpanPicker Product Page](https://www.telerik.com/maui-ui/timespanpicker)
- [.NET MAUI Forum Page](https://www.telerik.com/forums/maui?tagId=1853)
