NaturalVideoWidth Property

Gets the width of the video that is associated with the media.

XAML
Cannot be used in XAML.
Scripting
value = object.NaturalVideoWidth

Property Value

Double

The width of the video that is associated with the media.

This property is read-only. The default value is 0.

Remarks

The property value is not available until the MediaOpened event has been raised.

Applies To

MediaElement

See Also

Media Overview
Supported Media Formats and Protocols