Max Katz
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
0 deletions
-
src/Avalonia.Controls/Flyouts/MenuFlyoutPresenter.cs
|
|
|
@ -8,6 +8,15 @@ 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)) |
|
|
|
{ |
|
|
|
|