MediaElement.NaturalVideoWidth Property

Definition

Gets the width of the video associated with the media.

public:
 property int NaturalVideoWidth { int get(); };
public int NaturalVideoWidth { get; }
member this.NaturalVideoWidth : int
Public ReadOnly Property NaturalVideoWidth As Integer

Property Value

The width of the video associated with the media.

Remarks

NaturalVideoWidth is not accurate until the MediaOpened event has been raised.

Applies to