External.SelectedTaskPane
[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.]
Note
This topic describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.
The SelectedTaskPane property specifies or retrieves the currently selected task pane.
Syntax
window.external.SelectedTaskPane = servicetask
Possible Values
This property is a read/write String. Possible values are "ServiceTask1", "ServiceTask2", and "ServiceTask3".
Remarks
Specifying a value for this property highlights the button for that pane. It does not make the specified task pane active. You should specify a value for this property to set the current task pane button for your webpage when the page loads to ensure that the correct task pane button is active.
To make a particular task pane the active one, use the NavigateTaskPaneURL method.
Requirements
Requirement | Value |
---|---|
Version |
Windows Media Player 10 or later |
DLL |
|