Table of Contents

Property Cancel

Namespace
Terminal.Gui.Input
Assembly
Terminal.Gui.dll

Cancel

Gets or sets a value indicating whether the grab or ungrab operation should be cancelled.

public bool Cancel { get; set; }

Property Value

bool

true to cancel the operation and prevent the grab state from changing; false (default) to allow the operation to proceed.

Remarks

When set to true in a GrabbingMouse handler, the view will not grab the mouse. When set to true in a UnGrabbingMouse handler, the view will retain the mouse grab.