Video.Fullscreen Property

Language:

Retrieves and sets whether the video plays back in fullscreen mode.

Definition

Visual Basic Public Property Fullscreen As Boolean
C# public bool Fullscreen { get; set; }
C++ public:
property bool Fullscreen {
        bool get();
        void set(bool value);
}
JScript public function get Fullscreen() : boolean
public function set Fullscreen(boolean);

Property Value

System.Boolean
When set to true, the video plays back in fullscreen mode.

This property is read/write. 

Remarks

When playing a video in fullscreen mode, the Owner property can not be set. If you attempt to set the Owner property after setting the Fullscreen property to true, a DirectXException will be thrown. If you try to set the Fullscreen property to true after you set the Owner property, the video will play back in the control and not in fullscreen mode.

If focus is taken away from the application playing the video, the video will no longer play in fullscreen mode and will return to windowed mode.

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