NaturalVideoWidth

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

value = object.NaturalVideoWidth

Property Value

Type: Double

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

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

Managed Equivalent

NaturalVideoWidth

Remarks

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

Applies To

MediaElement