Edit

Share via


RibbonTwoLineText.GetPathData(DependencyObject) Method

Definition

Gets the value of the PathData attached property for an object.

public:
 static System::Windows::Media::Geometry ^ GetPathData(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.Geometry GetPathData (System.Windows.DependencyObject element);
static member GetPathData : System.Windows.DependencyObject -> System.Windows.Media.Geometry
Public Shared Function GetPathData (element As DependencyObject) As Geometry

Parameters

element
DependencyObject

The object from which the property value is read.

Returns

The object's PathData property value.

Exceptions

The specified element is null.

Applies to