InkHighContrastAdjustment Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- HighContrastAdjustment
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample