The TouchStripItem class consists of the following members. This class inherits from the MenuItem class.
Constructor | Description |
public TouchStripItem() : MenuItem(); | Initializes a new instance of the MenuItem class |
public TouchStripItem(text) : MenuItem(text); | Initializes a new touch strip item with the displayed text value |
public TouchStripItem(text, imageUrl) : MenuItem(text, imageUrl); | Initializes a new touch strip item with the displayed text value and icon image Url |
Property | Description |
public int Width {get; set;} | Gets or sets the touch strip item width |
Example
This is a sample that creates a touch strip. On the client side, the script would look like this:
JavaScript | Copy Code |
---|---|
<script type="text/javascript"> window.onload = function () { </script> |