Redigera

Dela via


VisualTreeHelper.GetClip(Visual) Method

Definition

Return the clip region of the specified Visual as a Geometry value.

public:
 static System::Windows::Media::Geometry ^ GetClip(System::Windows::Media::Visual ^ reference);
public static System.Windows.Media.Geometry GetClip (System.Windows.Media.Visual reference);
static member GetClip : System.Windows.Media.Visual -> System.Windows.Media.Geometry
Public Shared Function GetClip (reference As Visual) As Geometry

Parameters

reference
Visual

The Visual whose clip region value is returned.

Returns

The clip region value of the Visual returned as a Geometry type.

Applies to

See also