![]() |
![]() |
![]() |
Video.Fullscreen Property |
Language: |
Retrieves and sets whether the video plays back in fullscreen mode.
Visual Basic .NET Public Property Fullscreen As Boolean C# public bool Fullscreen { get; set; } Managed C++ public: __property bool get_Fullscreen();
public: __property void set_Fullscreen(bool);JScript .NET public function get Fullscreen() : boolean
public function set Fullscreen(boolean);
System.Boolean . When set to true, the video plays back in fullscreen mode.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center