Share via


MediaElement.NaturalVideoWidth Property

Definition

Gets the width of the video associated with the media.

public:
 property int NaturalVideoWidth { int get(); };
int NaturalVideoWidth();
public int NaturalVideoWidth { get; }
var int32 = mediaElement.naturalVideoWidth;
Public ReadOnly Property NaturalVideoWidth As Integer

Property Value

Int32

int

The width of the video associated with the media. The default is 0.

Applies to