ejTile
Namespace: Wisej.Web.Ext.Syncfusion
Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)
The Essential Studio for JavaScript Web Tiles are simple, opaque rectangles or squares and they are arrayed on the start screen in a grid-like pattern. Tapping or selecting a Tile, launches the app or does some other action that is represented by the Tile. Tiles are arranged in a group separated by columns that looks like a start screen of a device and it can be either static or live.
- C#
- VB.NET
public class ejTile : ejBase
Public Class ejTile
Inherits ejBase
Constructors
ejTile()
Constructs a new instance of the ejTile class.
Example:
The following example creates the tile and sets the size and the image through the options.
var tile = new ejTile();
tile.Options.tileSize = "medium";
tile.Options.imageUrl = "Images/mail.png";
tile.Text = "Mail";
tile.Location = new Point(20, 20);
this.Controls.Add(tile);
ejTile(options)
Constructs a new instance of the ejTile class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a wide tile with rounded corners that shows the number of unread messages in a badge.
var tile = new ejTile(new
{
tileSize = "wide",
imageUrl = "Images/inbox.png",
text = "Inbox",
showRoundedCorner = true,
badge = new { enabled = true, value = 5 }
});
this.Controls.Add(tile);
Properties
Text
String: Specifies the text to display on the tile. (Default: "")
The property reads and writes the text option of the widget. The getter returns an empty string when the option is not set, and assigning null sets the option to an empty string.