Browse Source
Merge pull request #7883 from robloo/menuflyoutpresenter
Remove CornerRadius from MenuFlyoutPresenter
pull/7888/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
9 deletions
-
src/Avalonia.Controls/Flyouts/MenuFlyoutPresenter.cs
|
|
|
@ -8,15 +8,6 @@ namespace Avalonia.Controls |
|
|
|
{ |
|
|
|
public class MenuFlyoutPresenter : MenuBase |
|
|
|
{ |
|
|
|
public static readonly StyledProperty<CornerRadius> CornerRadiusProperty = |
|
|
|
Border.CornerRadiusProperty.AddOwner<FlyoutPresenter>(); |
|
|
|
|
|
|
|
public CornerRadius CornerRadius |
|
|
|
{ |
|
|
|
get => GetValue(CornerRadiusProperty); |
|
|
|
set => SetValue(CornerRadiusProperty, value); |
|
|
|
} |
|
|
|
|
|
|
|
public MenuFlyoutPresenter() |
|
|
|
:base(new DefaultMenuInteractionHandler(true)) |
|
|
|
{ |
|
|
|
|