feat: update popup style.
This commit is contained in:
@@ -112,6 +112,7 @@
|
|||||||
<Border
|
<Border
|
||||||
Name="PopupBorder"
|
Name="PopupBorder"
|
||||||
Margin="0,4"
|
Margin="0,4"
|
||||||
|
BorderThickness="{DynamicResource ComboBoxPopupBorderThickness}"
|
||||||
Background="{DynamicResource ComboBoxPopupBackground}"
|
Background="{DynamicResource ComboBoxPopupBackground}"
|
||||||
BorderBrush="{DynamicResource ComboBoxPopupBorderBrush}"
|
BorderBrush="{DynamicResource ComboBoxPopupBorderBrush}"
|
||||||
BoxShadow="{DynamicResource ComboBoxPopupBoxShadow}"
|
BoxShadow="{DynamicResource ComboBoxPopupBoxShadow}"
|
||||||
@@ -121,14 +122,18 @@
|
|||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Name="PART_PopupHeader"
|
Name="PART_PopupHeader"
|
||||||
Margin="8,8 8 0"
|
Margin="8,8 8 0"
|
||||||
|
IsVisible="{TemplateBinding PopupInnerTopContent,
|
||||||
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
||||||
Content="{TemplateBinding PopupInnerTopContent}"
|
Content="{TemplateBinding PopupInnerTopContent}"
|
||||||
DockPanel.Dock="Top" />
|
DockPanel.Dock="Top" />
|
||||||
<ContentPresenter
|
<ContentPresenter
|
||||||
Name="PART_PopupFooter"
|
Name="PART_PopupFooter"
|
||||||
Margin="8 0 8 8"
|
Margin="8 0 8 8"
|
||||||
|
IsVisible="{TemplateBinding PopupInnerBottomContent,
|
||||||
|
Converter={x:Static ObjectConverters.IsNotNull}}"
|
||||||
Content="{TemplateBinding PopupInnerBottomContent}"
|
Content="{TemplateBinding PopupInnerBottomContent}"
|
||||||
DockPanel.Dock="Bottom" />
|
DockPanel.Dock="Bottom" />
|
||||||
<ScrollViewer>
|
<ScrollViewer HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}">
|
||||||
<ItemsPresenter ItemsPanel="{TemplateBinding ItemsPanel}" />
|
<ItemsPresenter ItemsPanel="{TemplateBinding ItemsPanel}" />
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
|
|||||||
Reference in New Issue
Block a user