LayoutInformation.GetLayoutClip(FrameworkElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Geometry that represents the visible region of an element.
public:
static System::Windows::Media::Geometry ^ GetLayoutClip(System::Windows::FrameworkElement ^ element);
public static System.Windows.Media.Geometry GetLayoutClip (System.Windows.FrameworkElement element);
static member GetLayoutClip : System.Windows.FrameworkElement -> System.Windows.Media.Geometry
Public Shared Function GetLayoutClip (element As FrameworkElement) As Geometry
Parameters
- element
- FrameworkElement
The FrameworkElement whose layout clip is desired.
Returns
A Geometry that represents the visible region of an element
.
Remarks
If a LayoutTransform has been applied to the element
, the returned Geometry can be non-rectangular.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.