Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaPlaybackItem.GetDisplayProperties Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the display properties for a MediaPlaybackItem.

public:
 virtual MediaItemDisplayProperties ^ GetDisplayProperties() = GetDisplayProperties;
MediaItemDisplayProperties GetDisplayProperties();
public MediaItemDisplayProperties GetDisplayProperties();
function getDisplayProperties()
Public Function GetDisplayProperties () As MediaItemDisplayProperties

Returns

The display properties for a MediaPlaybackItem.

Windows requirements

Requirements Description
Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

To modify the display properties for a MediaPlaybackItem, retrieve the properties by calling GetDisplayProperties, update the data in the MediaItemDisplayProperties, then call ApplyDisplayProperties.

For how-to guidance for integrating with the SMTC, see Integrate with the System Media Transport Controls.

Applies to


Feedback

Was this page helpful?