feat: wip.

This commit is contained in:
rabbitism
2024-02-21 14:30:51 +08:00
parent 76da0b3616
commit ab4b74d055
6 changed files with 35 additions and 8 deletions

View File

@@ -23,8 +23,8 @@
Fill="Gray" />
<ContentPresenter Margin="4 0" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" />
<ItemsPresenter VerticalAlignment="Center" HorizontalAlignment="Left" ItemsPanel="{TemplateBinding ItemsPanel}"/>
<Button Content="More"></Button>
<Popup>
<ToggleButton Name="button" Content="More"></ToggleButton>
<Popup IsOpen="{Binding #button.IsChecked, Mode=TwoWay}" PlacementTarget="{Binding #button}" IsLightDismissEnabled="True">
<Border Theme="{DynamicResource CardBorder}">
<StackPanel Name="{x:Static u:ToolBar.PART_OverflowPanel}"></StackPanel>
</Border>