DisplaySource.Status Property

Definition

Get the current status for the DisplaySource.

You can use the DisplaySource.StatusChanged event to determine when the status has changed.

public:
 property DisplaySourceStatus Status { DisplaySourceStatus get(); };
DisplaySourceStatus Status();
public DisplaySourceStatus Status { get; }
var displaySourceStatus = displaySource.status;
Public ReadOnly Property Status As DisplaySourceStatus

Property Value

A DisplaySourceStatus value representing the current status for the DisplaySource.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to

See also