Rediger

Del via


RibbonTwoLineText.SetPathData(DependencyObject, Geometry) Method

Definition

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

public:
 static void SetPathData(System::Windows::DependencyObject ^ element, System::Windows::Media::Geometry ^ value);
public static void SetPathData (System.Windows.DependencyObject element, System.Windows.Media.Geometry value);
static member SetPathData : System.Windows.DependencyObject * System.Windows.Media.Geometry -> unit
Public Shared Sub SetPathData (element As DependencyObject, value As Geometry)

Parameters

element
DependencyObject

The object to which the attached property is written.

value
Geometry

The value to set.

Exceptions

The specified element is null.

Applies to