RenderOptions.GetEdgeMode(DependencyObject) 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 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.