Spread for ASP.NET 8.0 Product Documentation
TouchStripItem Constructor(String)
Example 


The text.
Initializes a new instance of the MenuItem class.
Syntax
'Declaration
 
Public Function New( _
   ByVal text As String _
)
'Usage
 
Dim text As String
 
Dim instance As New TouchStripItem(text)
public TouchStripItem( 
   string text
)

Parameters

text
The text.
Example
This example adds custom items to the 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
Requirements

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

See Also

Reference

TouchStripItem Class
TouchStripItem Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.