public Size Size => (this.UIElement is FrameworkElement fe) ? new Size(fe.Width, fe.Height) : this.UIElement.RenderSize;
public virtual Size Size => (this.WPFPrimaryElement is FrameworkElement fe) ? new Size(fe.Width, fe.Height) : this.WPFPrimaryElement.RenderSize;