RenderOptions Класс
Определение
Предоставляет параметры для управления поведением отрисовки объектов.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
- Наследование
-
RenderOptions
Комментарии
Присоединенные свойства класса можно использовать RenderOptions для указания параметров отрисовки текста и визуальных элементов в приложении WPF.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.
Поля
BitmapScalingModeProperty |
Идентифицирует присоединенное свойство BitmapScalingMode.Identifies the BitmapScalingMode attached property. |
CacheInvalidationThresholdMaximumProperty |
Идентифицирует присоединенное свойство CacheInvalidationThresholdMaximum.Identifies the CacheInvalidationThresholdMaximum attached property. |
CacheInvalidationThresholdMinimumProperty |
Идентифицирует присоединенное свойство CacheInvalidationThresholdMinimum.Identifies the CacheInvalidationThresholdMinimum attached property. |
CachingHintProperty |
Идентифицирует присоединенное свойство CachingHint.Identifies the CachingHint attached property. |
ClearTypeHintProperty |
Идентифицирует присоединенное свойство ClearTypeHint.Identifies the ClearTypeHint attached property. |
EdgeModeProperty |
Идентифицирует присоединенное свойство EdgeMode.Identifies the EdgeMode attached property. |
Свойства
ProcessRenderMode |
Задает параметры режима визуализации текущего процесса.Specifies the render mode preference for the current process. |
Присоединенные свойства
BitmapScalingMode |
Получает или задает BitmapScalingMode для заданного DependencyObject.Gets or sets the BitmapScalingMode for a given DependencyObject. |
CacheInvalidationThresholdMaximum |
Получает или задает максимальное пороговое значение недействительности данных в кэше для заданного DependencyObject.Gets or sets the cache invalidation threshold maximum value for a given DependencyObject. |
CacheInvalidationThresholdMinimum |
Получает или задает минимальное пороговое значение недействительности данных в кэше для заданного DependencyObject.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 |
Получает или задает значение, указывающее механизму отрисовки, возможно ли отображать текст с помощью ClearType.Gets or sets a value that indicates to the rendering engine whether text can be rendered with ClearType. |
EdgeMode |
Получает или задает для нетекстового примитива значение из перечисления EdgeMode, определяющее, как визуализируются границы этого примитива.Gets or sets the EdgeMode enumeration value for a non-text primitive that determines how its edges are rendered. |
Методы
GetBitmapScalingMode(DependencyObject) |
Возвращает значение присоединенного свойства BitmapScalingMode для указанного объекта зависимости.Returns the value of the BitmapScalingMode attached property for a specified dependency object. |
GetCacheInvalidationThresholdMaximum(DependencyObject) |
Возвращает значение присоединенного свойства CacheInvalidationThresholdMaximum для указанного объекта зависимости.Returns the value of the CacheInvalidationThresholdMaximum attached property for a specified dependency object. |
GetCacheInvalidationThresholdMinimum(DependencyObject) |
Возвращает значение присоединенного свойства CacheInvalidationThresholdMinimum для указанного объекта зависимости.Returns the value of the CacheInvalidationThresholdMinimum attached property for a specified dependency object. |
GetCachingHint(DependencyObject) |
Возвращает значение присоединенного свойства CachingHint для указанного объекта зависимости.Returns the value of the CachingHint attached property for a specified dependency object. |
GetClearTypeHint(DependencyObject) |
Получает значение присоединенного свойства ClearTypeHint указанного элемента.Gets the value of the ClearTypeHint attached property of the specified element. |
GetEdgeMode(DependencyObject) |
Возвращает значение присоединенного свойства EdgeMode для указанного объекта зависимости.Returns the value of the EdgeMode attached property for a specified dependency object. |
SetBitmapScalingMode(DependencyObject, BitmapScalingMode) |
Задает значение присоединенного свойства BitmapScalingMode для указанного объекта зависимости.Sets the value of the BitmapScalingMode attached property on a specified dependency object. |
SetCacheInvalidationThresholdMaximum(DependencyObject, Double) |
Задает значение присоединенного свойства CacheInvalidationThresholdMaximum для указанного объекта зависимости.Sets the value of the CacheInvalidationThresholdMaximum attached property on a specified dependency object. |
SetCacheInvalidationThresholdMinimum(DependencyObject, Double) |
Задает значение присоединенного свойства CacheInvalidationThresholdMinimum для указанного объекта зависимости.Sets the value of the CacheInvalidationThresholdMinimum attached property on a specified dependency object. |
SetCachingHint(DependencyObject, CachingHint) |
Задает значение присоединенного свойства CachingHint для указанного объекта зависимости.Sets the value of the CachingHint attached property on a specified dependency object. |
SetClearTypeHint(DependencyObject, ClearTypeHint) |
Задает значение вложенного свойства зависимостей ClearTypeHint указанного элемента.Sets the value of the ClearTypeHint attached property of the specified element. |
SetEdgeMode(DependencyObject, EdgeMode) |
Задает значение присоединенного свойства EdgeMode для указанного объекта зависимости.Sets the value of the EdgeMode attached property on a specified dependency object. |