committed by
GitHub
11 changed files with 82 additions and 50 deletions
@ -1,23 +1,21 @@ |
|||||
<Style xmlns="https://github.com/avaloniaui" |
<Style xmlns="https://github.com/avaloniaui" |
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||
Selector="OverlayPopupHost"> |
Selector="OverlayPopupHost"> |
||||
<Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}"/> |
<Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}" /> |
||||
<Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}"/> |
<Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}" /> |
||||
<Setter Property="FontFamily" Value="{x:Static FontFamily.Default}" /> |
<Setter Property="FontFamily" Value="{x:Static FontFamily.Default}" /> |
||||
<Setter Property="FontWeight" Value="400" /> |
<Setter Property="FontWeight" Value="400" /> |
||||
<Setter Property="FontStyle" Value="Normal" /> |
<Setter Property="FontStyle" Value="Normal" /> |
||||
<Setter Property="Template"> |
<Setter Property="Template"> |
||||
<ControlTemplate> |
<ControlTemplate> |
||||
<Panel> |
<!-- Do not forget to update Templated_Control_With_Popup_In_Template_Should_Set_TemplatedParent test --> |
||||
<Border Name="PART_TransparencyFallback" IsHitTestVisible="False" /> |
<VisualLayerManager IsPopup="True"> |
||||
<VisualLayerManager IsPopup="True"> |
<ContentPresenter Name="PART_ContentPresenter" |
||||
<ContentPresenter Name="PART_ContentPresenter" |
Background="{TemplateBinding Background}" |
||||
Background="{TemplateBinding Background}" |
ContentTemplate="{TemplateBinding ContentTemplate}" |
||||
ContentTemplate="{TemplateBinding ContentTemplate}" |
Content="{TemplateBinding Content}" |
||||
Content="{TemplateBinding Content}" |
Padding="{TemplateBinding Padding}"/> |
||||
Padding="{TemplateBinding Padding}"/> |
</VisualLayerManager> |
||||
</VisualLayerManager> |
|
||||
</Panel> |
|
||||
</ControlTemplate> |
</ControlTemplate> |
||||
</Setter> |
</Setter> |
||||
</Style> |
</Style> |
||||
|
|||||
Loading…
Reference in new issue