7 changed files with 41 additions and 27 deletions
@ -0,0 +1,13 @@ |
|||||
|
<ResourceDictionary xmlns="https://github.com/avaloniaui" |
||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
||||
|
<ControlTheme x:Key="{x:Type AdornerLayer}" TargetType="AdornerLayer"> |
||||
|
<Setter Property="DefaultFocusAdorner"> |
||||
|
<FocusAdornerTemplate> |
||||
|
<Rectangle Margin="1" |
||||
|
Stroke="Black" |
||||
|
StrokeDashArray="1,2" |
||||
|
StrokeThickness="1" /> |
||||
|
</FocusAdornerTemplate> |
||||
|
</Setter> |
||||
|
</ControlTheme> |
||||
|
</ResourceDictionary> |
||||
@ -1,11 +0,0 @@ |
|||||
<Style xmlns="https://github.com/avaloniaui" |
|
||||
Selector=":is(Control)"> |
|
||||
<Setter Property="FocusAdorner"> |
|
||||
<FocusAdornerTemplate> |
|
||||
<Rectangle Margin="1" |
|
||||
Stroke="Black" |
|
||||
StrokeDashArray="1,2" |
|
||||
StrokeThickness="1" /> |
|
||||
</FocusAdornerTemplate> |
|
||||
</Setter> |
|
||||
</Style> |
|
||||
Loading…
Reference in new issue