Video.Owner Property (Microsoft.DirectX.AudioVideoPlayback)
Retrieves or sets the Control where the video will be played.
Definition
Visual Basic Public Property Owner As Control C# public Control Owner { get; set; } C++ public:
property Control^ Owner {
Control^ get();
void set(Control^ value);
}JScript public function get Owner() : Control
public function set Owner(Control);
Property Value
System.Windows.Forms.Control
The Control where the video will be played.This property is read/write.
Remarks
If this property is not set before playback, a new Form will be created for playback.
Exceptions
For more information on the cause of this exception, reference the DirectXException.ErrorCode and DirectXException.ErrorString properties to the AudioVideoPlayback error code table.