Visual Basic (Usage) | Copy Code |
---|---|
Dim text As String Dim instance As New TouchStripItem(text) |
Parameters
- text
- The text.
This example adds custom items to the touch strip.
C# | Copy Code |
---|---|
FarPoint.Web.Spread.TouchStrip touchStrip = new FarPoint.Web.Spread.TouchStrip(); FarPoint.Web.Spread.TouchStripItem parent = new FarPoint.Web.Spread.TouchStripItem("Other...."); parent.ChildItems.Add(new FarPoint.Web.Spread.MenuItem("Child item")); touchStrip.Items.Add(parent); FpSpread1.TouchStrips[FarPoint.Web.Spread.TouchStripShowingArea.Cell] = touchStrip; |
VB.NET | Copy Code |
---|---|
Dim touchStrip As New FarPoint.Web.Spread.TouchStrip() Dim parent As New FarPoint.Web.Spread.TouchStripItem("Other....") parent.ChildItems.Add(New FarPoint.Web.Spread.MenuItem("Child item")) touchStrip.Items.Add(parent) FpSpread1.TouchStrips(FarPoint.Web.Spread.TouchStripShowingArea.Cell) = touchStrip |
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6