public void Show() { ShowBase(); MenuView.Elevation = RequestedElevation; OverrideRequested.Invoke(this, () => { Dismiss(true); OnHiddenWithoutSelection?.Invoke(this, EventArgs.Empty); }); MOnDismissCallback = new FlyoutDismissListener(() => ResetOverrideRequested.Invoke(this, EventArgs.Empty)); }
public void Show() { ShowBase(); MenuView.Elevation = RequestedElevation; OverrideRequested.Invoke(this, () => { Dismiss(true); OnHiddenWithoutSelection?.Invoke(this, EventArgs.Empty); }); MOnDismissCallback = new FlyoutDismissListener(() => ResetOverrideRequested.Invoke(this, EventArgs.Empty)); MenuView.SetPadding(0, 0, 0, 0); var view = MPopupView.GetChildAt(0); (view.LayoutParameters as ViewGroup.MarginLayoutParams).SetMargins(0, 0, 0, 0); //view.SetPadding(0,0,0,0); }