Color Element
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Note
This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.
The Color element specifies the background color for online store navigation buttons, button text, and the Features taskbar.
<Color
MediaPlayer = "#FFFFFF"
MediaPlayerText = "#FFFFFF"
/>
Attributes
-
MediaPlayer (required)
-
Hexadecimal RGB color value. Specifies the background color for buttons and the taskbar.
-
MediaPlayerText (required)
-
Hexadecimal RGB color value. Specifies the color for the button text.
Parent/Child Elements
Hierarchy | Element |
---|---|
Parent elements | ServiceInfo |
Child elements | None |
Remarks
The default value for MediaPlayer is #7C9AD6. The default value for MediaPlayerText is #FFFFFF.
Be sure to use colors that make it easy for the user to read the button text. For example, you should avoid using white button text on light colored buttons.
Requirements
Requirement | Value |
---|---|
Version |
Windows Media Player 10 or later. |