Partager via


SLIDER.tiled

[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.]

The tiled attribute specifies or retrieves a value indicating whether the slider image will be tiled.

        elementID.tiled

Possible Values

This attribute is a read/write Boolean.

Value Description
true Default. The image bitmap will be repeated until it fills the entire region of the control.
false The image will not be tiled.

Remarks

This attribute applies only if you are using foreground and background images to define a slider control. If the images are smaller than the defined area of the slider, and the tiled attribute is set to true, the images will be repeated until they fill the entire length of the control.

You may wish to use this attribute in conjunction with the borderSize attribute. The borderSize attribute allows you to define a border that is not repeated during tiling.

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later

See also

SLIDER Element

SLIDER.backgroundImage

SLIDER.borderSize

SLIDER.foregroundImage