MediaPlayerElement.IsFullWindow Property

Definition

Gets or sets a value that specifies if the MediaPlayerElement is rendering in full window mode.

C#
public bool IsFullWindow { get; set; }
XAML
<MediaPlayerElement IsFullWindow="bool" />

Property Value

Boolean

true if the MediaPlayerElement is in full window mode; otherwise, false. The default is false.

Remarks

Setting and un-setting this property enables and disables full window rendering.

Always use the IsFullWindow property to enable and disable full window rendering. This ensures system level optimizations are used during media playback.

When in full-window mode, input events received on the MediaPlayerElement will still route through to the visual tree in the background. For example, if the MediaPlayerElement is in a ListBox, turning the scroll wheel could cause the ListBox to scroll in the background. This can cause unexpected behavior. If input events should not be routed when in full-window mode, the MediaPlayerElement should handle the events.

Applies to

Product Versions
Windows App SDK 1.2, 1.3, 1.4, 1.5, 1.6