[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.IsHorizontalRailEnabled

IsHorizontalRailEnabled Property

IsHorizontalRailEnabled

Gets or sets a value indicating whether the magnifier will lock the move direction horizontally.

Declaration
public bool IsHorizontalRailEnabled { get; set; }
Property Value
Type Description
bool

true if the magnifier will lock the move direction horizontally; otherwise, false. The default is false.

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()
	{
		// The magnifier will lock the move direction horizontally.
		_gcMagnifierObj.IsHorizontalRailEnabled = true;
	}
}
Public Class GcMagnifierDemo
	Inherits Form
	Private _gcMagnifierObj As New GcMagnifier()

	Public Sub New()
		' The magnifier will lock the move direction horizontally.
		_gcMagnifierObj.IsHorizontalRailEnabled = True
	End Sub
End Class