編輯

共用方式為


RenderOptions Class

Definition

Provides options for controlling the rendering behavior of objects.

public ref class RenderOptions abstract sealed
public static class RenderOptions
type RenderOptions = class
Public Class RenderOptions
Inheritance
RenderOptions

Remarks

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.

Fields

BitmapScalingModeProperty

Identifies the BitmapScalingMode attached property.

CacheInvalidationThresholdMaximumProperty

Identifies the CacheInvalidationThresholdMaximum attached property.

CacheInvalidationThresholdMinimumProperty

Identifies the CacheInvalidationThresholdMinimum attached property.

CachingHintProperty

Identifies the CachingHint attached property.

ClearTypeHintProperty

Identifies the ClearTypeHint attached property.

EdgeModeProperty

Identifies the EdgeMode attached property.

Properties

ProcessRenderMode

Specifies the render mode preference for the current process.

Attached Properties

BitmapScalingMode

Gets or sets the BitmapScalingMode for a given DependencyObject.

CacheInvalidationThresholdMaximum

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

CacheInvalidationThresholdMinimum

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

CachingHint

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

ClearTypeHint

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

EdgeMode

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

Methods

GetBitmapScalingMode(DependencyObject)

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

GetCacheInvalidationThresholdMaximum(DependencyObject)

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

GetCacheInvalidationThresholdMinimum(DependencyObject)

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

GetCachingHint(DependencyObject)

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

GetClearTypeHint(DependencyObject)

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

GetEdgeMode(DependencyObject)

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

SetBitmapScalingMode(DependencyObject, BitmapScalingMode)

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

SetCacheInvalidationThresholdMaximum(DependencyObject, Double)

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

SetCacheInvalidationThresholdMinimum(DependencyObject, Double)

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

SetCachingHint(DependencyObject, CachingHint)

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

SetClearTypeHint(DependencyObject, ClearTypeHint)

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

SetEdgeMode(DependencyObject, EdgeMode)

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

Applies to

See also