Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TouchInfo Class / PanningMode Property
Example


In This Topic
    PanningMode Property
    In This Topic
    Gets or sets the way Spread reacts to touch manipulation.
    Syntax
    'Declaration
     
    Public Property PanningMode As SpreadPanningMode
    'Usage
     
    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.
    Example
    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