|
25 | 25 | <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth3" />
|
26 | 26 | <Setter Property="TextElement.FontWeight" Value="Normal" />
|
27 | 27 | <Setter Property="Padding" Value="0 8 0 8" />
|
| 28 | + <Setter Property="Focusable" Value="False" /> |
28 | 29 | <Setter Property="Template">
|
29 | 30 | <Setter.Value>
|
30 | 31 | <ControlTemplate TargetType="{x:Type wpf:PopupBox}">
|
|
160 | 161 | <Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth2" />
|
161 | 162 | <Setter Property="Width" Value="56" />
|
162 | 163 | <Setter Property="Height" Value="56" />
|
| 164 | + <Setter Property="Focusable" Value="False" /> |
163 | 165 | <Setter Property="Template">
|
164 | 166 | <Setter.Value>
|
165 | 167 | <ControlTemplate TargetType="{x:Type wpf:PopupBox}">
|
|
235 | 237 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
|
236 | 238 | <!-- additional layer so we don't rotate the ripple directly which can cause jumpyness under certain layouts -->
|
237 | 239 | <ContentControl Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
|
238 |
| - RenderTransformOrigin=".5,.5"> |
| 240 | + RenderTransformOrigin=".5,.5" Focusable="False"> |
239 | 241 | <ContentControl.RenderTransform>
|
240 | 242 | <RotateTransform x:Name="ContentRotateTransform" Angle="0" />
|
241 | 243 | </ContentControl.RenderTransform>
|
|
316 | 318 | ToolTipService.Placement="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=wpf:PopupBox}, Path=(ToolTipService.Placement)}">
|
317 | 319 | <Grid>
|
318 | 320 | <ContentControl x:Name="StandardToggleContent" Content="{TemplateBinding ToggleContent}" ContentTemplate="{TemplateBinding ToggleContentTemplate}"
|
319 |
| - Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource InvertedNullVisibilityConverter}}"/> |
| 321 | + Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource InvertedNullVisibilityConverter}}" Focusable="False"/> |
320 | 322 | <ContentControl x:Name="ExplicitToggleContent" Content="{TemplateBinding ToggleContent}" ContentTemplate="{TemplateBinding ToggleContentTemplate}"
|
321 |
| - Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource NullVisibilityConverter}}"/> |
| 323 | + Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource NullVisibilityConverter}}" Focusable="False"/> |
322 | 324 | <ContentControl x:Name="ExplicitToggleCheckedContent" Content="{TemplateBinding ToggleCheckedContent}" ContentTemplate="{TemplateBinding ToggleCheckedContentTemplate}"
|
323 | 325 | Visibility="{TemplateBinding ToggleCheckedContent, Converter={StaticResource NullVisibilityConverter}}"
|
324 | 326 | Opacity="0"
|
325 |
| - RenderTransformOrigin=".5,.5"> |
| 327 | + RenderTransformOrigin=".5,.5" |
| 328 | + Focusable="False"> |
326 | 329 | <ContentControl.RenderTransform>
|
327 | 330 | <RotateTransform Angle="-45" />
|
328 | 331 | </ContentControl.RenderTransform>
|
|
0 commit comments