Modifier

Partager via


RenderOptions.EdgeMode Attached Property

Definition

Gets or sets the EdgeMode enumeration value for a non-text primitive that determines how its edges are rendered.

see GetEdgeMode, and SetEdgeMode
see GetEdgeMode, and SetEdgeMode
see GetEdgeMode, and SetEdgeMode

Remarks

Use the EdgeMode attached property to improve rendering performance by specifying that a visual object should be rendered with aliased edges. Text objects are always displayed with anti-aliasing, and are unaffected by setting the edge mode value. 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.

To access this property in code, use the GetEdgeMode and SetEdgeMode methods.

Dependency Property Information

Identifier field EdgeModeProperty
Metadata properties set to true None

Applies to

See also