VisualTreeHelper.GetEdgeMode Method (Visual)

 

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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static EdgeMode GetEdgeMode(
	Visual reference
)

Parameters

reference
Type: System.Windows.Media.Visual

The Visual whose edge mode value is returned.

Return Value

Type: System.Windows.Media.EdgeMode

The EdgeMode value of the Visual.

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.

.NET Framework
Available since 3.0
Return to top
Show: