Skip to content

Latest commit

 

History

History
88 lines (49 loc) · 2.52 KB

playlist-setcolumnresizemode.md

File metadata and controls

88 lines (49 loc) · 2.52 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location ms.custom
PLAYLIST.setColumnResizeMode
The setColumnResizeMode method specifies how the indexed column sizes itself.
84ca0e60-ca24-4058-ae08-5b9cf3d7c38f
PLAYLIST.setColumnResizeMode Windows Media Player
apiref
PLAYLIST.setColumnResizeMode
NA
reference
4/26/2023
UpdateFrequency5

PLAYLIST.setColumnResizeMode

[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 setColumnResizeMode method specifies how the indexed column sizes itself.

        elementID.setColumnResizeMode(column, mode)

Parameters

column

Number (long) indicating the index of the column to be changed.

mode

String indicating the sizing mode. Contains one of the following values.

Value Description
AutosizeHeader The column resizes to accommodate all data in both the column and the header.
AutosizeData The column resizes to accommodate all data in the column only.
Fixed The column is a fixed size.
Stretches The column resizes to use the remaining space in the PLAYLIST element after all other columns are resized.

Return Value

This method does not return a value.

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later

See also

PLAYLIST Element