[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.MessageWhenMove

MessageWhenMove Property

MessageWhenMove

Gets or sets a value indicating which message will be posted to the attach control when magnifier is moving.

Declaration
public MessageWhenMove MessageWhenMove { get; set; }
Property Value
Type Description
MessageWhenMove

One of the MessageWhenMove values. The default is MessageWhenMove.Move.

Examples

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