Udostępnij za pośrednictwem


InkHighContrastAdjustment Enum

Definition

Specifies how the InkPresenter object handles input (standard and modified) from the associated InkCanvas control when system is in high contrast mode.

public enum class InkHighContrastAdjustment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class InkHighContrastAdjustment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum InkHighContrastAdjustment
var value = Windows.UI.Input.Inking.InkHighContrastAdjustment.useSystemColorsWhenNecessary
Public Enum InkHighContrastAdjustment
Inheritance
InkHighContrastAdjustment
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
UseSystemColorsWhenNecessary 0

For standard strokes, use selected color if contrast is sufficient against the background. Otherwise, use system color.

For highlighter strokes (InkDrawingAttributes.DrawAsHighlighter), use selected color if contrast is sufficient against the background. Otherwise, use system color.

UseSystemColors 1

For standard strokes, use system color.

For highlighter strokes (InkDrawingAttributes.DrawAsHighlighter), use system highlighter color.

UseOriginalColors 2

For standard strokes, use the selected color.

For highlighter strokes (InkDrawingAttributes.DrawAsHighlighter), use the selected color.

Applies to

See also