Browse Source

Merge pull request #7883 from robloo/menuflyoutpresenter

Remove CornerRadius from MenuFlyoutPresenter
pull/7888/head
Max Katz 4 years ago
committed by GitHub
parent
commit
bf8b8cd9b7
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,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))
{

Loading…
Cancel
Save