public XwtThemedPopup(PopupType type) : base(type) { base.Content = container = new XwtPopoverCanvas(); BackgroundColor = Xwt.Drawing.Colors.Transparent; Decorated = true; Theme.TargetPosition = CurrentPosition; }
public XwtThemedPopup(PopupType type) : base(type) { base.Content = container = new XwtPopoverCanvas(); BackgroundColor = Xwt.Drawing.Colors.Transparent; #if MAC // background rendering of undecorated windows is broken in HighSierra and previous versions if (MacSystemInformation.OsVersion <= MacSystemInformation.HighSierra) { Decorated = true; } #else Decorated = true; #endif Theme.TargetPosition = CurrentPosition; }