MobileForms Toolkit Documentation

ImageBox.PenMode Property

Gets or sets the behavior of the mouse cursor which serves as a pen over the image.

public PenMode PenMode {get; set;}

Remarks

The values have the following meaning:
NoneClicking the mouse inside the image has no effect. This is the only mode when MouseDown, MouseUp and MouseMove events are raised.
MoveClicking and dragging the mouse over the client area scrolls the image. The user can also use his finger to scroll, he does not need to use the stylus.
CropSetting this property to Crop value automatically displays the cropping rectangle (its coordinates are taken from the CropBounds property) and user can use the mouse to change the coordinates of this cropping rectangle.

See Also

ImageBox Class | Resco.Controls.ImageBox Namespace