|
464 | 464 | <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_MonthView" Storyboard.TargetProperty="Opacity"> |
465 | 465 | <DiscreteDoubleKeyFrame KeyTime="0" Value="0" /> |
466 | 466 | </DoubleAnimationUsingKeyFrames> |
| 467 | + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_MonthView" Storyboard.TargetProperty="Visibility"> |
| 468 | + <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Hidden}" /> |
| 469 | + </ObjectAnimationUsingKeyFrames> |
467 | 470 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_YearView" Storyboard.TargetProperty="Visibility"> |
468 | 471 | <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Visible}" /> |
469 | 472 | </ObjectAnimationUsingKeyFrames> |
|
536 | 539 | <DoubleAnimationUsingKeyFrames Storyboard.TargetName="PART_MonthView" Storyboard.TargetProperty="Opacity"> |
537 | 540 | <DiscreteDoubleKeyFrame KeyTime="0" Value="0" /> |
538 | 541 | </DoubleAnimationUsingKeyFrames> |
| 542 | + <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_MonthView" Storyboard.TargetProperty="Visibility"> |
| 543 | + <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Hidden}" /> |
| 544 | + </ObjectAnimationUsingKeyFrames> |
539 | 545 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_YearView" Storyboard.TargetProperty="Visibility"> |
540 | 546 | <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{x:Static Visibility.Visible}" /> |
541 | 547 | </ObjectAnimationUsingKeyFrames> |
|
628 | 634 | <Setter Property="VerticalContentAlignment" Value="Center" /> |
629 | 635 | <Setter Property="FocusVisualStyle" Value="{StaticResource EllipticalFocusStyle}"/> |
630 | 636 | <Setter Property="chelper:FocusVisualHelper.UseSystemFocusVisuals" Value="True" /> |
631 | | - <Setter Property="chelper:FocusVisualHelper.FocusVisualMargin" Value="-3" /> |
| 637 | + <Setter Property="chelper:FocusVisualHelper.FocusVisualMargin" Value="-4,-3.5,-3.5,-3" /> |
632 | 638 | <Setter Property="Template"> |
633 | 639 | <Setter.Value> |
634 | 640 | <ControlTemplate TargetType="CalendarDayButton"> |
|
687 | 693 | </Trigger> |
688 | 694 | <!-- Selected --> |
689 | 695 | <Trigger Property="IsSelected" Value="True"> |
| 696 | + <Setter Property="IsTabStop" Value="True" /> |
| 697 | + <Setter Property="TabIndex" Value="4" /> |
690 | 698 | <Setter TargetName="NormalText" Property="Foreground" Value="{DynamicResource CalendarViewSelectedForeground}" /> |
691 | 699 | <Setter TargetName="HighlightBorder" Property="Stroke" Value="{DynamicResource CalendarViewSelectedBorderBrush}" /> |
692 | 700 | </Trigger> |
|
739 | 747 | <Setter TargetName="NormalText" Property="FontWeight" Value="{DynamicResource CalendarViewTodayFontWeight}" /> |
740 | 748 | <Setter TargetName="NormalText" Property="Foreground" Value="{DynamicResource CalendarViewTodayForeground}" /> |
741 | 749 | </Trigger> |
| 750 | + <Trigger Property="IsToday" Value="True"> |
| 751 | + <Setter Property="IsTabStop" Value="True" /> |
| 752 | + <Setter Property="TabIndex" Value="5" /> |
| 753 | + </Trigger> |
742 | 754 | <MultiTrigger> |
743 | 755 | <MultiTrigger.Conditions> |
744 | 756 | <Condition Property="IsBlackedOut" Value="True" /> |
|
857 | 869 | </Trigger> |
858 | 870 | <!-- Selected --> |
859 | 871 | <Trigger Property="HasSelectedDays" Value="True"> |
| 872 | + <Setter Property="IsTabStop" Value="True" /> |
| 873 | + <Setter Property="TabIndex" Value="4" /> |
860 | 874 | <Setter TargetName="Background" Property="Fill" Value="{DynamicResource CalendarViewTodayBackground}" /> |
861 | 875 | <Setter TargetName="NormalText" Property="FontWeight" Value="{DynamicResource CalendarViewTodayFontWeight}" /> |
862 | 876 | <Setter TargetName="NormalText" Property="Foreground" Value="{DynamicResource CalendarViewTodayForeground}" /> |
|
0 commit comments