Skip to content

Commit d898bef

Browse files
committed
Fix #244: Get error when using CommandBarFlyout
1 parent eebdb5c commit d898bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@
753753
<Border.Clip>
754754
<RectangleGeometry
755755
x:Name="OuterContentRootClip"
756-
Rect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=FlyoutTemplateSettings.ContentClipRect}">
756+
Rect="{Binding Source={StaticResource TemplateSettingsProxy}, Path=FlyoutTemplateSettings.ContentClipRect}">
757757
<RectangleGeometry.Transform>
758758
<TranslateTransform x:Name="OuterContentRootClipTransform" />
759759
</RectangleGeometry.Transform>

0 commit comments

Comments
 (0)