Windows Media Player SDK banner art
PreviousNext

TEXT Element

The TEXT element provides a way to create and control the appearance of text within a skin.

The TEXT element supports the following attributes.

Attribute Description
backgroundColor Specifies or retrieves the background color for the Text control.
cursor Specifies or retrieves a value indicating which cursor appears when the mouse is over the Text control.
disabledBackgroundColor Specifies or retrieves the background color used for the Text control when it is disabled.
disabledFontStyle Specifies or retrieves the font style used for the Text control when it is disabled.
disabledForegroundColor Specifies or retrieves the text color used when the Text control is disabled.
fontFace Specifies or retrieves the typeface for the Text control.
fontSize Specifies or retrieves the font size for the Text control.
fontSmoothing Specifies or retrieves a value indicating whether font smoothing is enabled.
fontStyle Specifies or retrieves the font style for the Text control.
foregroundColor Specifies or retrieves the text color for the Text control.
hoverBackgroundColor Specifies or retrieves the background color used for the Text control when the mouse cursor hovers over it.
hoverFontStyle Specifies or retrieves the font style used for the Text control when the mouse cursor hovers over it.
hoverForegroundColor Specifies or retrieves the text color used for the Text control when the mouse cursor hovers over it.
justification Specifies or retrieves the alignment of the text within the Text control.
scrolling Specifies or retrieves a value indicating whether the text scrolls.
scrollingAmount Specifies or retrieves the number of pixels that the text moves during each scrolling movement.
scrollingDelay Specifies or retrieves the time delay between scrolling movements.
scrollingDirection Specifies or retrieves the direction of the scrolling text.
textWidth Retrieves the width in pixels of the string contained in the value attribute.
toolTip Specifies or retrieves the ToolTip text for the text control.
value Specifies or retrieves the text that is displayed in the Text control.
wordWrap Specifies or retrieves a value indicating whether word wrapping is enabled or disabled.

The ambient attributes and ambient events are also supported by this element.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.