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
91
91
if ( item . BitmapIcon is not null )
92
92
{
93
93
flyoutSubItem . Style = App . Current . Resources [ "MenuFlyoutSubItemWithImageStyle" ] as Style ;
94
- flyoutSubItem . CornerRadius = new ( 4 ) ;
95
94
try
96
95
{
97
96
MenuFlyoutSubItemCustomProperties . SetBitmapIcon ( flyoutSubItem , item . BitmapIcon ) ;
@@ -125,7 +124,6 @@ private static MenuFlyoutItemBase GetItem(ContextMenuFlyoutItemViewModel i)
125
124
Tag = i . Tag ,
126
125
Command = i . Command ,
127
126
CommandParameter = i . CommandParameter ,
128
- CornerRadius = new ( 4 ) ,
129
127
} ;
130
128
try
131
129
{
Original file line number Diff line number Diff line change 18
18
Background=" {TemplateBinding Background}"
19
19
BorderBrush=" {TemplateBinding BorderBrush}"
20
20
BorderThickness=" {TemplateBinding BorderThickness}"
21
- CornerRadius=" {TemplateBinding CornerRadius }" >
21
+ CornerRadius=" {StaticResource ControlCornerRadius }" >
22
22
<Grid >
23
23
<Grid .ColumnDefinitions>
24
24
<ColumnDefinition Width =" *" />
Original file line number Diff line number Diff line change 25
25
Background=" {TemplateBinding Background}"
26
26
BorderBrush=" {TemplateBinding BorderBrush}"
27
27
BorderThickness=" {TemplateBinding BorderThickness}"
28
- CornerRadius=" {TemplateBinding CornerRadius }" >
28
+ CornerRadius=" {StaticResource ControlCornerRadius }" >
29
29
<Grid .ColumnDefinitions>
30
30
<ColumnDefinition Width =" *" />
31
31
<ColumnDefinition Width =" Auto" />
You can’t perform that action at this time.
0 commit comments