|
1 | | -<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> |
| 1 | +<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> |
2 | 2 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:animatedvisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" |
|
53 | 53 | <Setter Property="BorderThickness" Value="{ThemeResource SettingsCardBorderThickness}" /> |
54 | 54 | <Setter Property="CornerRadius" Value="{ThemeResource ControlCornerRadius}" /> |
55 | 55 | <Setter Property="MinHeight" Value="{ThemeResource SettingsCardMinHeight}" /> |
56 | | - <!--<Setter Property="win:AutomationProperties.AutomationControlType" Value="Group" />--> |
57 | | - <!--<Setter Property="win:AutomationProperties.Name" Value="{TemplateBinding Header}" />--> |
58 | 56 | <Setter Property="MaxWidth" Value="{ThemeResource SettingsCardMaxWidth}" /> |
59 | 57 | <Setter Property="MinWidth" Value="{ThemeResource SettingsCardMinWidth}" /> |
60 | 58 | <Setter Property="IsTabStop" Value="False" /> |
|
75 | 73 | <muxc:Expander MaxWidth="{TemplateBinding MaxWidth}" |
76 | 74 | HorizontalAlignment="{TemplateBinding HorizontalAlignment}" |
77 | 75 | HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
| 76 | + win:AutomationProperties.HelpText="{TemplateBinding AutomationProperties.HelpText}" |
| 77 | + win:AutomationProperties.Name="{TemplateBinding AutomationProperties.Name}" |
78 | 78 | IsExpanded="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" |
79 | | - IsTabStop="False" |
80 | 79 | Style="{StaticResource SettingsExpanderExpanderStyle}"> |
81 | 80 | <muxc:Expander.Header> |
82 | 81 | <labs:SettingsCard Padding="{StaticResource SettingsExpanderHeaderPadding}" |
|
101 | 100 |
|
102 | 101 | <Style x:Key="SettingsExpanderExpanderStyle" |
103 | 102 | TargetType="muxc:Expander"> |
104 | | - <Setter Property="IsTabStop" Value="False" /> |
105 | 103 | <Setter Property="Background" Value="{ThemeResource ExpanderContentBackground}" /> |
106 | 104 | <Setter Property="BackgroundSizing" Value="InnerBorderEdge" /> |
107 | 105 | <Setter Property="MinWidth" Value="{ThemeResource FlyoutThemeMinWidth}" /> |
|
230 | 228 | HorizontalContentAlignment="{StaticResource ExpanderHeaderHorizontalContentAlignment}" |
231 | 229 | VerticalContentAlignment="{StaticResource ExpanderHeaderVerticalContentAlignment}" |
232 | 230 | win:AutomationProperties.AutomationId="ExpanderToggleButton" |
| 231 | + win:AutomationProperties.Name="{TemplateBinding AutomationProperties.Name}" |
233 | 232 | BackgroundSizing="{TemplateBinding BackgroundSizing}" |
234 | 233 | BorderBrush="{ThemeResource ExpanderHeaderBorderBrush}" |
235 | 234 | BorderThickness="{ThemeResource ExpanderHeaderBorderThickness}" |
|
239 | 238 | CornerRadius="{TemplateBinding CornerRadius}" |
240 | 239 | IsChecked="{Binding Path=IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" |
241 | 240 | IsEnabled="{TemplateBinding IsEnabled}" |
242 | | - IsTabStop="False" |
| 241 | + IsTabStop="True" |
243 | 242 | Style="{StaticResource SettingsExpanderHeaderDownStyle}" /> |
244 | 243 | <!-- The clip is a composition clip applied in code --> |
245 | 244 | <Border x:Name="ExpanderContentClip" |
|
523 | 522 | VerticalAlignment="Center" |
524 | 523 | HorizontalContentAlignment="Center" |
525 | 524 | VerticalContentAlignment="Center" |
526 | | - win:AutomationProperties.Name="{StaticResource SettingsExpanderChevronToolTip}" |
527 | 525 | Background="{ThemeResource ExpanderChevronBackground}" |
528 | 526 | BorderBrush="{ThemeResource ExpanderChevronBorderBrush}" |
529 | 527 | BorderThickness="{ThemeResource ExpanderChevronBorderThickness}" |
530 | 528 | CornerRadius="{ThemeResource ControlCornerRadius}" |
531 | 529 | FocusVisualMargin="-3" |
532 | | - IsTabStop="True" |
| 530 | + IsTabStop="False" |
533 | 531 | ToolTipService.ToolTip="{StaticResource SettingsExpanderChevronToolTip}" |
534 | 532 | UseSystemFocusVisuals="True"> |
535 | 533 | <muxc:AnimatedIcon x:Name="ExpandCollapseChevron" |
|
0 commit comments