Windows Media Player 11 SDK BUTTONELEMENT.sticky 

Windows Media Player SDK banner art

Previous Next

BUTTONELEMENT.sticky

The sticky attribute specifies or retrieves a value indicating whether the BUTTONELEMENT is a toggle, that is, whether it is a two-state or single-state button.

Syntax

  

Possible Values

This attribute is a read/write Boolean.

Value Description
true BUTTONELEMENT is sticky.
false Default. BUTTONELEMENT is not sticky.

Remarks

If the sticky attribute is set to true, the button element will change to the down state when clicked and will remain in that state until clicked again. When the button element is in the down state, the down attribute will be true and the appropriate portion of the button group downImage will be displayed.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next