Visual Basic (Declaration) | |
---|---|
Public Function New() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New TouchStrip() |
C# | |
---|---|
public TouchStrip() |
This example adds items to a 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