Delegates #
Name |
Description |
AppearanceChanged() |
This delegate is called when the user switches between Light and Dark system themes. |
Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
This class exposes no events.
Color Methods #
Name |
Parameters |
Accent |
|
BackgroundControl |
|
BackgroundDesktop |
|
BackgroundHighlight |
|
BackgroundMDI |
|
BackgroundMenu |
|
BackgroundMenu3D |
|
BackgroundMenuFlat |
|
BackgroundMenuHighlight |
|
BackgroundScrollbar |
|
BackgroundTooltip |
|
BackgroundWindow |
|
BackgroundWindowCaptionActive |
|
BackgroundWindowCaptionInactive |
|
BevelDark |
|
BevelDarkButton |
|
BevelLight |
|
BevelLightButton |
|
BorderControlFlat |
|
BorderWindowActive |
|
BorderWindowFrame |
|
BorderWindowInactive |
|
TextControl |
|
TextDisabled |
|
TextHighlight |
|
TextHyperlink |
|
TextHyperlinkHover |
|
TextMenu |
|
TextTooltip |
|
TextWindow |
|
TextWindowCaptionActive |
|
TextWindowCaptionGradientActive |
|
TextWindowCaptionGradientInactive |
|
TextWindowCaptionInactive |
|
Methods #
Definition |
Description |
AppearanceListenerAdd(modeCallback as AppearanceChanged) |
Adds an appearance listener delegate to the call stack. This delegate will be invoked if/when the user changes the system color scheme. |
AppearanceListenerRemove(modeCallback as AppearanceChanged) |
Removes the specified listener delegate from the call stack. All added delegates should be removed when no longer needed. |
AppearanceListenerRemoveAll() |
Removes all appearance delegate listeners. Ideally listeners should be removed when no longer needed, but if you run in to an issue where you are leaking listeners, you can call this to clear the stack. Note that this will break the basic IsDarkMode functionality for this module, so use with caution. |
IsDarkMode() as Boolean |
Uses a cached value system that is updated upon initialization and when the user changes the system color scheme to reduce OS calls. |
toDictionary() as Dictionary |
Returns a Dictionary of all color methods with all SystemEffects applied. |
Properties #
Name |
Type |
Default Value |
Description |
This class exposes no properties.
Examples #
This class currently has no examples.
Notes #
This class currently has no notes.