SwapChain.DisplayMode Property

Language:

Retrieves the display mode's spatial resolution, color resolution, and refresh frequency.

Definition

Visual Basic Public ReadOnly Property DisplayMode As DisplayMode
C# public DisplayMode DisplayMode { get; }
C++ public:
property DisplayMode DisplayMode {
        DisplayMode get();
}
JScript public function get DisplayMode() : DisplayMode

Property Value

Microsoft.DirectX.Direct3D.DisplayMode
A DisplayMode structure that contains data about the display mode of the adapter. This is different than the display mode of the device, which might not be active if the device does not own full-screen mode.

This property is read-only. 

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


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