Video.Owner Property |
Language: |
Retrieves or sets the Control where the video will be played.
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);
System.Windows.Forms.Control
This property is read/write.
The Control where the video will be played.
If this property is not set before playback, a new Form will be created for playback.
Exceptions
DirectXException For more information on the cause of this exception, reference the DirectXException.ErrorCode and DirectXException.ErrorString properties to the AudioVideoPlayback error code table.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center