InkOverlay.SupportHighContrastSelectionUI Property
InkOverlay.SupportHighContrastSelectionUI Property |
Gets or sets a value that specifies whether all selection user interface (UI) are drawn in high contrast when the system is in High Contrast mode.
Definition
Visual Basic .NET Public Property SupportHighContrastSelectionUI As Boolean C# public bool SupportHighContrastSelectionUI { get; set; } Managed C++ public: __property bool* get_SupportHighContrastSelectionUI();
public: __property void set_SupportHighContrastSelectionUI(bool*);
Property Value
System.Boolean. Whether all selection user interface (UI) renders in high contrast when the system is in High Contrast mode.
This property is read/write.
true
Default. All selection user interface (UI) renders in high contrast when the system is in High Contrast mode. false
Changes to the system's High Contrast mode are ignored and the selection user interface (UI) is drawn as it is when High Contrast mode is off.
Exceptions
Remarks
This property changes the way selection user interface (UI) is displayed when the system changes to High Contrast mode. Selection UI elements include the selection bounding box and the selection handles.
Ink selection uses the WindowText , Window , and Highlight properties of the SystemColors class to draw elements of the selection UI when the system is in High Contrast mode and the SupportHighContrastSelectionUI property is true.
Examples
[C#]
This C# example sets the SupportHighContrastSelectionUI property of an InkOverlay object to false so that the selection UI is always drawn as if High Contrast mode is off.
theInkOverlay.SupportHighContrastSelectionUI = false;
[VB.NET]
This Microsoft® Visual Basic® .NET example sets the SupportHighContrastInk example sets the SupportHighContrastSelectionUI property of an InkOverlay object to false so that the selection UI is always drawn as if High Contrast mode is off.
theInkOverlay.SupportHighContrastSelectionUI = False
See Also