Esempio n. 1
0
 /// <summary>Returns a <see cref="T:System.Windows.Media.Geometry" /> that represents the visible region of an element.</summary>
 /// <param name="element">The <see cref="T:System.Windows.FrameworkElement" /> whose layout clip is desired.</param>
 /// <returns>A <see cref="T:System.Windows.Media.Geometry" /> that represents the visible region of an <paramref name="element" />.</returns>
 // Token: 0x06005E66 RID: 24166 RVA: 0x001A748B File Offset: 0x001A568B
 public static Geometry GetLayoutClip(FrameworkElement element)
 {
     LayoutInformation.CheckArgument(element);
     return(element.GetLayoutClipInternal());
 }
Esempio n. 2
0
 /// <summary>Returns a <see cref="T:System.Windows.Rect" /> that represents the layout partition that is reserved for a child element.</summary>
 /// <param name="element">The <see cref="T:System.Windows.FrameworkElement" /> whose layout slot is desired.</param>
 /// <returns>A <see cref="T:System.Windows.Rect" /> that represents the layout slot of the element.</returns>
 // Token: 0x06005E65 RID: 24165 RVA: 0x001A747D File Offset: 0x001A567D
 public static Rect GetLayoutSlot(FrameworkElement element)
 {
     LayoutInformation.CheckArgument(element);
     return(element.PreviousArrangeRect);
 }