File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ private static MenuFlyoutItemBase GetMenuFlyoutItem(ContextMenuFlyoutItemViewMod
9191 if ( item . BitmapIcon is not null )
9292 {
9393 flyoutSubItem . Style = App . Current . Resources [ "MenuFlyoutSubItemWithImageStyle" ] as Style ;
94- flyoutSubItem . CornerRadius = new ( 4 ) ;
9594 try
9695 {
9796 MenuFlyoutSubItemCustomProperties . SetBitmapIcon ( flyoutSubItem , item . BitmapIcon ) ;
@@ -125,7 +124,6 @@ private static MenuFlyoutItemBase GetItem(ContextMenuFlyoutItemViewModel i)
125124 Tag = i . Tag ,
126125 Command = i . Command ,
127126 CommandParameter = i . CommandParameter ,
128- CornerRadius = new ( 4 ) ,
129127 } ;
130128 try
131129 {
Original file line number Diff line number Diff line change 1818 Background=" {TemplateBinding Background}"
1919 BorderBrush=" {TemplateBinding BorderBrush}"
2020 BorderThickness=" {TemplateBinding BorderThickness}"
21- CornerRadius=" {TemplateBinding CornerRadius }" >
21+ CornerRadius=" {StaticResource ControlCornerRadius }" >
2222 <Grid >
2323 <Grid .ColumnDefinitions>
2424 <ColumnDefinition Width =" *" />
Original file line number Diff line number Diff line change 2525 Background=" {TemplateBinding Background}"
2626 BorderBrush=" {TemplateBinding BorderBrush}"
2727 BorderThickness=" {TemplateBinding BorderThickness}"
28- CornerRadius=" {TemplateBinding CornerRadius }" >
28+ CornerRadius=" {StaticResource ControlCornerRadius }" >
2929 <Grid .ColumnDefinitions>
3030 <ColumnDefinition Width =" *" />
3131 <ColumnDefinition Width =" Auto" />
You can’t perform that action at this time.
0 commit comments