RenderOptions Class
TOC
Collapse the table of content
Expand the table of content

RenderOptions Class

 

Provides options for controlling the rendering behavior of objects.

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

System.Object
  System.Windows.Media.RenderOptions

public static class RenderOptions

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticProcessRenderMode

Specifies the render mode preference for the current process.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticBitmapScalingMode

Gets or sets the BitmapScalingMode for a given DependencyObject.

System_CAPS_pubpropertySystem_CAPS_staticCacheInvalidationThresholdMaximum

Gets or sets the cache invalidation threshold maximum value for a given DependencyObject.

System_CAPS_pubpropertySystem_CAPS_staticCacheInvalidationThresholdMinimum

Gets or sets the cache invalidation threshold minimum value for a given DependencyObject.

System_CAPS_pubpropertySystem_CAPS_staticCachingHint

Gets or sets a value that indicates that rendered content should be cached when possible.

System_CAPS_pubpropertySystem_CAPS_staticClearTypeHint

Gets or sets a value that indicates to the rendering engine whether text can be rendered with ClearType.

System_CAPS_pubpropertySystem_CAPS_staticEdgeMode

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetBitmapScalingMode(DependencyObject)

Returns the value of the BitmapScalingMode attached property for a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticGetCacheInvalidationThresholdMaximum(DependencyObject)

Returns the value of the CacheInvalidationThresholdMaximum attached property for a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticGetCacheInvalidationThresholdMinimum(DependencyObject)

Returns the value of the CacheInvalidationThresholdMinimum attached property for a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticGetCachingHint(DependencyObject)

Returns the value of the CachingHint attached property for a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticGetClearTypeHint(DependencyObject)

Gets the value of the ClearTypeHint attached property of the specified element.

System_CAPS_pubmethodSystem_CAPS_staticGetEdgeMode(DependencyObject)

Returns the value of the EdgeMode attached property for a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticSetBitmapScalingMode(DependencyObject, BitmapScalingMode)

Sets the value of the BitmapScalingMode attached property on a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticSetCacheInvalidationThresholdMaximum(DependencyObject, Double)

Sets the value of the CacheInvalidationThresholdMaximum attached property on a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticSetCacheInvalidationThresholdMinimum(DependencyObject, Double)

Sets the value of the CacheInvalidationThresholdMinimum attached property on a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticSetCachingHint(DependencyObject, CachingHint)

Sets the value of the CachingHint attached property on a specified dependency object.

System_CAPS_pubmethodSystem_CAPS_staticSetClearTypeHint(DependencyObject, ClearTypeHint)

Sets the value of the ClearTypeHint attached property of the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetEdgeMode(DependencyObject, EdgeMode)

Sets the value of the EdgeMode attached property on a specified dependency object.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticBitmapScalingModeProperty

Identifies the BitmapScalingMode attached property.

System_CAPS_pubfieldSystem_CAPS_staticCacheInvalidationThresholdMaximumProperty

Identifies the CacheInvalidationThresholdMaximum attached property.

System_CAPS_pubfieldSystem_CAPS_staticCacheInvalidationThresholdMinimumProperty

Identifies the CacheInvalidationThresholdMinimum attached property.

System_CAPS_pubfieldSystem_CAPS_staticCachingHintProperty

Identifies the CachingHint attached property.

System_CAPS_pubfieldSystem_CAPS_staticClearTypeHintProperty

Identifies the ClearTypeHint attached property.

System_CAPS_pubfieldSystem_CAPS_staticEdgeModeProperty

Identifies the EdgeMode attached property.

You can use the attached properties of the RenderOptions class to specify options for the rendering of text and visual elements in your WPF application. These options enable you to optimize rendering for speed or quality.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft