[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.IsVerticalRailEnabled

IsVerticalRailEnabled Property

IsVerticalRailEnabled

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

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

true if the magnifier will lock the move direction vertically; 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 vertically.
		_gcMagnifierObj.IsVerticalRailEnabled = true;
	}
}
Public Class GcMagnifierDemo
	Inherits Form
	Private _gcMagnifierObj As New GcMagnifier()

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