[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.MessageWhenClose

MessageWhenClose Property

MessageWhenClose

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

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

One of the MessageWhenClose values. The default is MessageWhenClose.None.

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 right click message will be posted to the _firstTextBox when magnifier close
		_gcMagnifierObj.MessageWhenClose = MessageWhenClose.RightClick;
	}
}
Public Class GcMagnifierDemo
	Inherits Form
	Private _gcMagnifierObj As New GcMagnifier()

	Public Sub New()
		' Mouse right click message will be posted to the _firstTextBox when magnifier close
		_gcMagnifierObj.MessageWhenClose = MessageWhenClose.RightClick
	End Sub
End Class