Skip to main content
RenderOptions Class
 

Provides options for controlling the rendering behavior of objects.

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

SystemObject
  System.Windows.MediaRenderOptions

public static class RenderOptions
public ref class RenderOptions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type RenderOptions = class end
Public NotInheritable Class RenderOptions
NameDescription
System_CAPS_pubproperty System_CAPS_static

Specifies the render mode preference for the current process.

NameDescription
System_CAPS_pubproperty System_CAPS_static BitmapScalingMode

Gets or sets the BitmapScalingMode for a given DependencyObject.

System_CAPS_pubproperty System_CAPS_static CacheInvalidationThresholdMaximum

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

System_CAPS_pubproperty System_CAPS_static CacheInvalidationThresholdMinimum

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

System_CAPS_pubproperty System_CAPS_static CachingHint

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

System_CAPS_pubproperty System_CAPS_static ClearTypeHint

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

System_CAPS_pubproperty System_CAPS_static EdgeMode

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

NameDescription
System_CAPS_pubmethod System_CAPS_static GetBitmapScalingMode

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

System_CAPS_pubmethod System_CAPS_static GetCacheInvalidationThresholdMaximum

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

System_CAPS_pubmethod System_CAPS_static GetCacheInvalidationThresholdMinimum

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

System_CAPS_pubmethod System_CAPS_static GetCachingHint

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

System_CAPS_pubmethod System_CAPS_static GetClearTypeHint

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

System_CAPS_pubmethod System_CAPS_static GetEdgeMode

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

System_CAPS_pubmethod System_CAPS_static SetBitmapScalingMode

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

System_CAPS_pubmethod System_CAPS_static SetCacheInvalidationThresholdMaximum

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

System_CAPS_pubmethod System_CAPS_static SetCacheInvalidationThresholdMinimum

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

System_CAPS_pubmethod System_CAPS_static SetCachingHint

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

System_CAPS_pubmethod System_CAPS_static SetClearTypeHint

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

System_CAPS_pubmethod System_CAPS_static SetEdgeMode

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

NameDescription
System_CAPS_pubfield System_CAPS_static BitmapScalingModeProperty

Identifies the BitmapScalingMode attached property.

System_CAPS_pubfield System_CAPS_static CacheInvalidationThresholdMaximumProperty

Identifies the CacheInvalidationThresholdMaximum attached property.

System_CAPS_pubfield System_CAPS_static CacheInvalidationThresholdMinimumProperty

Identifies the CacheInvalidationThresholdMinimum attached property.

System_CAPS_pubfield System_CAPS_static CachingHintProperty

Identifies the CachingHint attached property.

System_CAPS_pubfield System_CAPS_static ClearTypeHintProperty

Identifies the ClearTypeHint attached property.

System_CAPS_pubfield System_CAPS_static EdgeModeProperty

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