|
25 | 25 |
|
26 | 26 | <Button x:Name="PART_Min"
|
27 | 27 | Uid="{Binding Minimize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}"
|
28 |
| - AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
29 | 28 | Style="{DynamicResource Fluent.Ribbon.Styles.WindowCommands.CaptionButton}"
|
30 | 29 | Padding="0"
|
31 | 30 | controlzex:NonClientControlProperties.ClickStrategy="MouseEvent"
|
32 | 31 | controlzex:NonClientControlProperties.HitTestResult="MINBUTTON"
|
| 32 | + AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
33 | 33 | Focusable="False"
|
34 | 34 | SnapsToDevicePixels="True"
|
35 | 35 | ToolTip="{Binding Minimize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}">
|
|
43 | 43 |
|
44 | 44 | <Button x:Name="PART_Max"
|
45 | 45 | Uid="{Binding Maximize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}"
|
46 |
| - AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
47 | 46 | Style="{DynamicResource Fluent.Ribbon.Styles.WindowCommands.CaptionButton}"
|
48 | 47 | Padding="0"
|
49 | 48 | controlzex:NonClientControlProperties.ClickStrategy="MouseEvent"
|
50 | 49 | controlzex:NonClientControlProperties.HitTestResult="MAXBUTTON"
|
| 50 | + AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
51 | 51 | Focusable="False"
|
52 | 52 | SnapsToDevicePixels="True"
|
53 | 53 | ToolTip="{Binding Maximize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}"
|
|
62 | 62 |
|
63 | 63 | <Button x:Name="PART_Restore"
|
64 | 64 | Uid="{Binding Restore, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}"
|
65 |
| - AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
66 | 65 | Style="{DynamicResource Fluent.Ribbon.Styles.WindowCommands.CaptionButton}"
|
67 | 66 | Padding="0"
|
68 | 67 | controlzex:NonClientControlProperties.ClickStrategy="MouseEvent"
|
69 | 68 | controlzex:NonClientControlProperties.HitTestResult="MAXBUTTON"
|
| 69 | + AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
70 | 70 | Focusable="False"
|
71 | 71 | SnapsToDevicePixels="True"
|
72 | 72 | ToolTip="{Binding Restore, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}"
|
|
81 | 81 |
|
82 | 82 | <Button x:Name="PART_Close"
|
83 | 83 | Uid="{Binding Close, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}"
|
84 |
| - AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
85 | 84 | Style="{DynamicResource Fluent.Ribbon.Styles.WindowCommands.CaptionButton}"
|
86 | 85 | Padding="0"
|
87 | 86 | controlzex:NonClientControlProperties.ClickStrategy="MouseEvent"
|
88 | 87 | controlzex:NonClientControlProperties.HitTestResult="CLOSE"
|
| 88 | + AutomationProperties.Name="{Binding Uid, RelativeSource={RelativeSource Self}}" |
89 | 89 | Focusable="False"
|
90 | 90 | SnapsToDevicePixels="True"
|
91 | 91 | ToolTip="{Binding Close, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Fluent:WindowCommands}}}">
|
|
0 commit comments