Skip to content

Commit

Permalink
Merge pull request AvaloniaUI#8126 from wieslawsoltes/fixes/FixTimePi…
Browse files Browse the repository at this point in the history
…ckerPropertyRegistrations

Fix property owner type registrations
# Conflicts:
#	src/Avalonia.Controls/Primitives/SelectingItemsControl.cs
  • Loading branch information
maxkatz6 authored and danwalmsley committed Jun 1, 2022
1 parent 9bcc5b6 commit 405f593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Avalonia.Controls/DateTimePickers/TimePicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public class TimePicker : TemplatedControl
/// Defines the <see cref="Header"/> property
/// </summary>
public static readonly StyledProperty<object> HeaderProperty =
AvaloniaProperty.Register<DatePicker, object>(nameof(Header));
AvaloniaProperty.Register<TimePicker, object>(nameof(Header));

/// <summary>
/// Defines the <see cref="HeaderTemplate"/> property
/// </summary>
public static readonly StyledProperty<IDataTemplate> HeaderTemplateProperty =
AvaloniaProperty.Register<DatePicker, IDataTemplate>(nameof(HeaderTemplate));
AvaloniaProperty.Register<TimePicker, IDataTemplate>(nameof(HeaderTemplate));

/// <summary>
/// Defines the <see cref="ClockIdentifier"/> property
Expand Down

0 comments on commit 405f593

Please sign in to comment.