[]
Gets or sets a value indicating which message will be posted to the attach control when magnifier is moving.
public MessageWhenMove MessageWhenMove { get; set; }
Type | Description |
---|---|
MessageWhenMove | One of the MessageWhenMove values. The default is MessageWhenMove.Move. |
The following code example shows how to use this property.
This code example is part of a larger example provided for the C1Magnify class.
public class GcMagnifierDemo : Form
{
private GcMagnifier _gcMagnifierObj = new GcMagnifier();
public GcMagnifierDemo()
{
// Mouse move message will be posted to the _firstTextBox when magnifier close
_gcMagnifierObj.MessageWhenMove = MessageWhenMove.Move;
}
}
Public Class GcMagnifierDemo
Inherits Form
Private _gcMagnifierObj As New GcMagnifier()
Public Sub New()
' Mouse move message will be posted to the _firstTextBox when magnifier close
_gcMagnifierObj.MessageWhenMove = MessageWhenMove.Move
End Sub
End Class