Rediger

Del via


VisualTreeHelper.GetEdgeMode(Visual) Method

Definition

Returns the edge mode of the specified Visual as an EdgeMode value.

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

Parameters

reference
Visual

The Visual whose edge mode value is returned.

Returns

The EdgeMode value of the Visual.

Remarks

The edge mode value determines how the edges of non-text primitives are rendered.

Edge mode value Description
Aliased Render edges of non-text primitives as aliased edges.
Unspecified No edge mode is specified. Do not change the current edge mode that is applied to non-text primitives.

Applies to