feat: add compile binding.

This commit is contained in:
rabbitism
2024-07-22 15:59:54 +08:00
parent 34ca98eede
commit eb797a9440
8 changed files with 30 additions and 19 deletions

View File

@@ -248,7 +248,7 @@
<Style Selector="^ /template/ Panel#PART_TitleArea">
<Setter Property="ContextFlyout">
<MenuFlyout>
<MenuItem Command="{Binding $parent[u:CustomDialogControl].CloseDialog}" Header="{DynamicResource STRING_MENU_DIALOG_CLOSE}">
<MenuItem Command="{Binding $parent[u:CustomDialogControl].Close}" Header="{DynamicResource STRING_MENU_DIALOG_CLOSE}">
<MenuItem.Icon>
<PathIcon
Width="12"