Export (0) Print
Expand All

RenderOptions Class

Provides options for controlling the rendering behavior of objects.

System.Object
  System.Windows.Media.RenderOptions

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

public static class RenderOptions

The RenderOptions type exposes the following members.

  NameDescription
Public propertyStatic memberProcessRenderModeSpecifies the render mode preference for the current process.
Top

  NameDescription
Public attached propertyBitmapScalingModeGets or sets the BitmapScalingMode for a given DependencyObject.
Public attached propertyCacheInvalidationThresholdMaximumGets or sets the cache invalidation threshold maximum value for a given DependencyObject.
Public attached propertyCacheInvalidationThresholdMinimumGets or sets the cache invalidation threshold minimum value for a given DependencyObject.
Public attached propertyCachingHintGets or sets a value that indicates that rendered content should be cached when possible.
Public attached propertyClearTypeHintGets or sets a value that indicates to the rendering engine whether text can be rendered with ClearType.
Public attached propertyEdgeModeGets or sets the EdgeMode enumeration value for a non-text primitive that determines how its edges are rendered.
Top

  NameDescription
Public methodStatic memberGetBitmapScalingModeReturns the value of the BitmapScalingMode attached property for a specified dependency object.
Public methodStatic memberGetCacheInvalidationThresholdMaximumReturns the value of the CacheInvalidationThresholdMaximum attached property for a specified dependency object.
Public methodStatic memberGetCacheInvalidationThresholdMinimumReturns the value of the CacheInvalidationThresholdMinimum attached property for a specified dependency object.
Public methodStatic memberGetCachingHintReturns the value of the CachingHint attached property for a specified dependency object.
Public methodStatic memberGetClearTypeHintGets the value of the ClearTypeHint attached property of the specified element.
Public methodStatic memberGetEdgeModeReturns the value of the EdgeMode attached property for a specified dependency object.
Public methodStatic memberSetBitmapScalingModeSets the value of the BitmapScalingMode attached property on a specified dependency object.
Public methodStatic memberSetCacheInvalidationThresholdMaximumSets the value of the CacheInvalidationThresholdMaximum attached property on a specified dependency object.
Public methodStatic memberSetCacheInvalidationThresholdMinimumSets the value of the CacheInvalidationThresholdMinimum attached property on a specified dependency object.
Public methodStatic memberSetCachingHintSets the value of the CachingHint attached property on a specified dependency object.
Public methodStatic memberSetClearTypeHintSets the value of the ClearTypeHint attached property of the specified element.
Public methodStatic memberSetEdgeModeSets the value of the EdgeMode attached property on a specified dependency object.
Top

  NameDescription
Public fieldStatic memberBitmapScalingModePropertyIdentifies the BitmapScalingMode attached property.
Public fieldStatic memberCacheInvalidationThresholdMaximumPropertyIdentifies the CacheInvalidationThresholdMaximum attached property.
Public fieldStatic memberCacheInvalidationThresholdMinimumPropertyIdentifies the CacheInvalidationThresholdMinimum attached property.
Public fieldStatic memberCachingHintPropertyIdentifies the CachingHint attached property.
Public fieldStatic memberClearTypeHintPropertyIdentifies the ClearTypeHint attached property.
Public fieldStatic memberEdgeModePropertyIdentifies the EdgeMode attached property.
Top

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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