Ejemplo n.º 1
0
 public Size Size => (this.UIElement is FrameworkElement fe) ? new Size(fe.Width, fe.Height) : this.UIElement.RenderSize;
Ejemplo n.º 2
0
 public virtual Size Size => (this.WPFPrimaryElement is FrameworkElement fe) ? new Size(fe.Width, fe.Height) : this.WPFPrimaryElement.RenderSize;