Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

MediaElement.IsFullWindow property

Applies to Windows and Windows Phone

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


public bool IsFullWindow { get; set; }

<MediaElement IsFullWindow="bool" />

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

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


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.


Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]


Windows::UI::Xaml::Controls [C++]



See also




© 2014 Microsoft