Share via


DisplayTarget.IsConnected Property

Definition

Gets a Boolean value indicating whether a monitor was connected to this DisplayTarget when it was created.

public:
 property bool IsConnected { bool get(); };
bool IsConnected();
public bool IsConnected { get; }
var boolean = displayTarget.isConnected;
Public ReadOnly Property IsConnected As Boolean

Property Value

Boolean

bool

true if a monitor was connected to this DisplayTarget when it was created, otherwise false.

Applies to