Click or drag to resize

PdfViewerOnMouseCaptureChanged Method

Raises the MouseCaptureChanged event and synchronizes the cursor state.

Namespace: Patagames.Pdf.Net.Controls.WinForms
Assembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.111.2704
Syntax
protected override void OnMouseCaptureChanged(
	EventArgs e
)

Parameters

e  EventArgs
An EventArgs that contains the event data.
Remarks
This override implements a workaround to ensure the visual cursor is correctly updated when mouse capture is released. By setting Current to when Capture is , the internal cursor cache is invalidated. This forces the operating system to re-evaluate and redraw the cursor icon based on the current Cursor property settings.
See Also