Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / TouchStripOpening Event


In This Topic
    TouchStripOpening Event
    In This Topic
    Occurs when FpSpread tries to show a FarPoint.Win.Spread.TouchStrip in a touch device.
    Syntax
    'Declaration
     
    
    Public Event TouchStripOpening As EventHandler(Of TouchStripOpeningEventArgs)
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As EventHandler(Of TouchStripOpeningEventArgs)
     
    AddHandler instance.TouchStripOpening, handler
    public event EventHandler<TouchStripOpeningEventArgs> TouchStripOpening
    Event Data

    The event handler receives an argument of type TouchStripOpeningEventArgs containing data related to this event. The following TouchStripOpeningEventArgs properties provide information specific to this event.

    PropertyDescription
    Indicates what area should display a SpreadTouchStrip.  
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets or sets a value that indicates whether to keep the selection.  
    Gets or sets the horizontal position for the tapped position.  
    Gets or sets the vertical position for the tapped position.  
    Remarks
    If some objects are already selected, such as cell, row, column, shape, or chart, and you tap the objects again, FpSpread raises this event to show a FarPoint.Win.Spread.TouchStrip. You can create your own FarPoint.Win.Spread.TouchStrip and show it in the event handler. To do so, set the TouchStripOpeningEventArgs.Cancel to true. Set the TouchStripOpeningEventArgs.UseBuiltInTouchStrip to True to make FpSpread show a built-in FarPoint.Win.Spread.TouchStrip.
    See Also