public async Task ShowAsync(FrameworkElement element, LayoutStretch layout = LayoutStretch.Center, bool allowTapToHide = true) { TryHide(); _shownCPEX = new ContentPopupEx(element, layout); _shownCPEX.AllowTapMaskToHide = allowTapToHide; await _shownCPEX.ShowAsync(); }
public ContentPopupEx(FrameworkElement element, bool solidBackground = true, LayoutStretch layout = LayoutStretch.Center) : this() { _rootFramework = element; _layoutStretch = layout; _solidBackground = solidBackground; }
public ContentPopupEx(FrameworkElement element, LayoutStretch layout = LayoutStretch.Center) : this() { this._rootFramework = element; this._layoutStretch = layout; }