Share via


DisplayArea.IsPrimary Property

Definition

Gets a value that indicates whether the DisplayArea is located on the primary monitor.

public:
 property bool IsPrimary { bool get(); };
bool IsPrimary();
public bool IsPrimary { get; }
var boolean = displayArea.isPrimary;
Public ReadOnly Property IsPrimary As Boolean

Property Value

Boolean

bool

true if the DisplayArea is located on the primary monitor; otherwise, false.

Applies to

See also