Browse Source

Update MenuFlyoutPresenter.cs

pull/6789/head
Max Katz 5 years ago
committed by GitHub
parent
commit
40dd16f9ae
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      src/Avalonia.Controls/Flyouts/MenuFlyoutPresenter.cs

9
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))
{

Loading…
Cancel
Save