Example #1
0
 public Rect GetControlRect()
 {
     return(!FrameworkObject.Return(x => x.IsLoaded, () => false) || PresentationSource.FromDependencyObject(WindowObject) == null
         ? Rect.Empty
         : GetRealRect(FrameworkObject));
 }