MediaPlaybackItem.IsDisabledInPlaybackList MediaPlaybackItem.IsDisabledInPlaybackList MediaPlaybackItem.IsDisabledInPlaybackList MediaPlaybackItem.IsDisabledInPlaybackList MediaPlaybackItem.IsDisabledInPlaybackList Property

Definition

Gets or sets a value that specifies whether a MediaPlaybackItem is disabled in a MediaPlaybackList.

public : Platform::Boolean IsDisabledInPlaybackList { get; set; }
bool IsDisabledInPlaybackList();

void IsDisabledInPlaybackList(bool isdisabledinplaybacklist);
public bool IsDisabledInPlaybackList { get; set; }
Public ReadWrite Property IsDisabledInPlaybackList As bool
var bool = mediaPlaybackItem.isDisabledInPlaybackList;
mediaPlaybackItem.isDisabledInPlaybackList = bool;

Property Value

bool bool bool

True if the media playback item is disabled in the playback list; otherwise, false.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

A example scenario for using this property is when network connectivity is lost, your app can check the TotalDownloadProgress property to see which items in the playback list have completed downloading. For items that have not completed, set IsDisabledInPlaybackList to true so that the item won't be played in the list.

Note that after playback of an item has begun, setting the IsDisabledInPlaybackList property has no effect.