Share via


Windows Media Player 11 SDK BUTTONELEMENT.mappingColor 

Windows Media Player SDK banner art

Previous Next

BUTTONELEMENT.mappingColor

The mappingColor attribute specifies or retrieves the color key that identifies this BUTTONELEMENT in the BUTTONGROUP.

Syntax

  

Possible Values

This attribute is a read/write String containing any Microsoft Internet Explorer color value. It has no default value.

Example

The following sample is a complete skin definition file that illustrates how some of the BUTTONELEMENT attributes are used. It can be found in the Samples directory that was installed with the SDK.

  

Remarks

This attribute specifies the color of the region in the button group mappingImage that corresponds to this button element. All clicks on this region are handled by this button element.

If an invalid color is specified, the BUTTONELEMENT is not activated.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next