EdgeMode Enumeration
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
Text objects are always displayed by using anti aliasing, and are unaffected by setting the edge mode value. The default value for non-text drawing primitives, such as Ellipse and Polygon, is Unspecified.
When you set the edge mode value of a visual object, all the descendant drawing primitives of the visual object are set to the same edge mode value.
The following example shows how to use the SetEdgeMode method to set the edge mode for a drawing primitive to Aliased.
// Set the edge mode to aliased for the visual and any descendant drawing primitives it has.
RenderOptions.SetEdgeMode((DependencyObject)myVisual, EdgeMode.Aliased);
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.