Spread Windows Forms 10.0 Product Documentation
ColumnTouchStrip Constructor
Example 


The spread.
Creates a ColumnTouchStrip instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal spread As FpSpread _
)
'Usage
 
Dim spread As FpSpread
 
Dim instance As New ColumnTouchStrip(spread)
public ColumnTouchStrip( 
   FpSpread spread
)

Parameters

spread
The spread.
Example
This example creates a touch strip.
private void fpSpread1_TouchStripOpening(object sender, FarPoint.Win.Spread.TouchStripOpeningEventArgs e)
       {
           if (e.Area == FarPoint.Win.Spread.TouchStripShowingArea.Column) {
           e.Cancel = true;  
           FarPoint.Win.Spread.ColumnTouchStrip touchStrip1 = new FarPoint.Win.Spread.ColumnTouchStrip(this.fpSpread1);
           touchStrip1.Items["Paste"].Visible = false;
           touchStrip1.Show(new Point(e.X - 20, e.Y - 35 - touchStrip.Height));
           }
       }
Private Sub fpSpread1_TouchStripOpening(sender As Object, e As FarPoint.Win.Spread.TouchStripOpeningEventArgs)
If (e.Area = FarPoint.Win.Spread.TouchStripShowingArea.Column) Then
e.Cancel = True
Dim touchStrip As New FarPoint.Win.Spread.ColumnTouchStrip(Me.fpSpread1)
touchStrip.Items("Paste").Visible = False
touchStrip.Show(New Point(e.X - 20, e.Y - 35 - touchStrip.Height))
End If
End Sub
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ColumnTouchStrip Class
ColumnTouchStrip Members

 

 


Copyright © GrapeCity, inc. All rights reserved.