Home / Companies / Sentry / Blog / Post Details
Content Deep Dive

Making a Time Zone Picker Control for .NET MAUI

Blog post from Sentry

Post Details
Company
Date Published
Author
Matt Johnson-Pint
Word Count
2,410
Language
English
Hacker News Points
-
Summary

In the article, Matt Johnson-Pint creates a custom time zone picker control for .NET MAUI, providing a consistent cross-platform user experience for selecting a time zone from a list. The control uses Unicode's Common Locale Data Repository (CLDR) to display localized strings and is backed by IANA time zone identifiers. It includes features such as scrolling, item selection, and event handling for the selected time zone. The article covers the creation of the control, its elements, getting time zone resource data, responding to events, using the control in an application, testing, and final thoughts on .NET MAUI.