Windows Media Player 11 SDK SUBVIEW Element 

Windows Media Player SDK banner art

Previous Next

SUBVIEW Element

The SUBVIEW element provides a way to manipulate a portion of a skin, for example, to provide a control panel that can be hidden when it is not being used. SUBVIEW elements are always children of parent VIEW elements, and can contain other skin element except for VIEW, THEME, and other SUBVIEW elements.

The SUBVIEW element supports the following attributes, which are defined under the VIEW element.

Attribute Description
backgroundColor Specifies or retrieves the background color of the SUBVIEW control. The default value is "none".
backgroundImage Specifies or retrieves the background image of the SUBVIEW control.
backgroundImageHueShift Specifies or retrieves the amount by which the hue of the background image is shifted.
backgroundImageSaturation Specifies or retrieves the saturation value of the background image.
backgroundTiled Specifies or retrieves a value indicating whether the background image of the SUBVIEW control is tiled.
resizeBackgroundImage Specifies or retrieves a value indicating whether the background image can be resized.
transparencyColor Specifies or retrieves the transparency color of the background image.

The SUBVIEW element supports the ambient attributes, except where noted. For more information, see Ambient Attributes.

The SUBVIEW element can implement the following ambient event handlers: onendmove and onresize.

See Also

Previous Next