MediaElement.IsFullWindow Property

Definition

Gets a value that specifies if the MediaElement is rendering in full window mode. Setting this property enables or disables full window rendering.

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

Property Value

Boolean

true if the MediaElement 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 MediaElement will still route through to the visual tree in the background. For example, if the MediaElement 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 MediaElement should handle the events.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100