Spread for ASP.NET 11 Product Documentation
TouchStrip Constructor
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > TouchStrip Class : TouchStrip Constructor
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New TouchStrip()
public TouchStrip()
Example
This example adds items to a touch strip.
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;
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
See Also

Reference

TouchStrip Class
TouchStrip Members