Open
Description
Is your feature request related to a problem? Please describe.
TimePicker/DatePicker styling is problematic, being way too reliant on template parts, and styling deeply baked into C# code.
Any third-party theme can be broken easily by minor improvements in these controls.
Describe the solution you'd like
- Reduce template parts to minimum
- Use TemplateBinding as much as possible, keeping styling logic in XAML template only
- If needed, introduce some kind of
TimePickerTemplateSettings
class, with readonly properties of pre-computed values useful in XAML template. Something like https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/SplitView/SplitViewTemplateSettings.cs
Describe alternatives you've considered
No response
Additional context
No response