GraphicsCaptureSession.IsCursorCaptureEnabled Property


Gets or sets a value specifying whether the capture session will include the cursor in the captured content.

 property bool IsCursorCaptureEnabled { bool get(); void set(bool value); };
bool IsCursorCaptureEnabled();

void IsCursorCaptureEnabled(bool value);
public bool IsCursorCaptureEnabled { get; set; }
var boolean = graphicsCaptureSession.isCursorCaptureEnabled;
graphicsCaptureSession.isCursorCaptureEnabled = boolean;
Public Property IsCursorCaptureEnabled As Boolean

Property Value



True if the cursor should be captured; otherwise, false.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Applies to