private static void OnTimeFormatPropertyChanged(AvaloniaObject d, AvaloniaPropertyChangedEventArgs e)
        {
            FormsTimePicker element = d as FormsTimePicker;

            if (element == null)
            {
                return;
            }

            element.OnTimeFormatChanged();
        }
        //protected override void OnLostFocus(RoutedEventArgs e)
        //{
        //	SetTime();
        //	base.OnLostFocus(e);
        //}

        //protected override void OnGotFocus(RoutedEventArgs e)
        //{
        //	base.OnGotFocus(e);
        //}
        #endregion

        #region Property Changes
        private static void OnTimePropertyChanged(AvaloniaObject d, AvaloniaPropertyChangedEventArgs e)
        {
            FormsTimePicker element = d as FormsTimePicker;

            if (element == null)
            {
                return;
            }

            element.OnTimeChanged(e.OldValue as TimeSpan?, e.NewValue as TimeSpan?);
        }