Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TouchInfo Class / PanningMode Property

In This Topic
    PanningMode Property
    In This Topic
    Gets or sets the way Spread reacts to touch manipulation.
    Public Property PanningMode As SpreadPanningMode
    Dim instance As TouchInfo
    Dim value As SpreadPanningMode
    instance.PanningMode = value
    value = instance.PanningMode
    public SpreadPanningMode PanningMode {get; set;}

    Property Value

    A value that specifies how Spread reacts to touch manipulation. The default is Both.
    This example sets the PanningMode property.
    FpSpread1.Sheets[0].Columns.Count = 10;
    FpSpread1.Sheets[0].Rows.Count = 20;
    FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both;
    FpSpread1.Sheets(0).Columns.Count = 10
    FpSpread1.Sheets(0).Rows.Count = 20
    FpSpread1.TouchInfo.PanningMode = FarPoint.Web.Spread.SpreadPanningMode.Both
    See Also