Edit

Bagikan melalui


RenderOptions.GetEdgeMode(DependencyObject) Method

Definition

Returns the value of the EdgeMode attached property for a specified dependency object.

public:
 static System::Windows::Media::EdgeMode GetEdgeMode(System::Windows::DependencyObject ^ target);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Media.EdgeMode GetEdgeMode (System.Windows.DependencyObject target);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetEdgeMode : System.Windows.DependencyObject -> System.Windows.Media.EdgeMode
Public Shared Function GetEdgeMode (target As DependencyObject) As EdgeMode

Parameters

target
DependencyObject

The dependency object from which to retrieve the value of the EdgeMode attached property.

Returns

The current value of the EdgeMode attached property on the specified dependency object.

Attributes

Exceptions

The specified target is null.

Remarks

The default value for non-text drawing primitives, such as Ellipse and Polygon, is Unspecified.

Applies to