Window.ColorMode Property
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.
Returns the requested color mode of the window, one of
ActivityInfo#COLOR_MODE_DEFAULT, ActivityInfo#COLOR_MODE_WIDE_COLOR_GAMUT
or ActivityInfo#COLOR_MODE_HDR. -or- Sets the requested color mode of the window.
public virtual Android.Content.PM.ActivityColorMode ColorMode { [Android.Runtime.Register("getColorMode", "()I", "GetGetColorModeHandler", ApiSince=26)] get; [Android.Runtime.Register("setColorMode", "(I)V", "GetSetColorMode_IHandler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getColorMode", "()I", "GetGetColorModeHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setColorMode", "(I)V", "GetSetColorMode_IHandler", ApiSince=26)>]
member this.ColorMode : Android.Content.PM.ActivityColorMode with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Java documentation for android.view.Window.getColorMode().
Property setter documentation:
Java documentation for android.view.Window.setColorMode(int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.