Class TilePropertiesBuilder
Represents a class for TilePropertiesBuilder which includes mouse down, mouse up, locale, and HTML attribute properties.
Inheritance
System.Object
TilePropertiesBuilder
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
public class TilePropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
TilePropertiesBuilder()
Declaration
public TilePropertiesBuilder()
TilePropertiesBuilder(Tile)
Creates a new instance of Tile class.
Declaration
public TilePropertiesBuilder(Tile tile)
Parameters
Type |
Name |
Description |
Tile |
tile |
|
Fields
tile
The Web Tiles are simple, opaque rectangles or squares and they are arrayed on the start screen in a grid-like pattern.
Declaration
Field Value
Methods
AllowSelection(Boolean)
Sets allowSelection to tile.
Declaration
public TilePropertiesBuilder AllowSelection(bool selectable)
Parameters
Type |
Name |
Description |
System.Boolean |
selectable |
|
Returns
BackgroundColor(String)
Sets the background color to tile.
Declaration
public TilePropertiesBuilder BackgroundColor(string backgroundcolor)
Parameters
Type |
Name |
Description |
System.String |
backgroundcolor |
|
Returns
Badge(Action<TileBadgeBuilder>)
Section for badge specific functionalities and it represents the notification for tile items.
Declaration
public TilePropertiesBuilder Badge(Action<TileBadgeBuilder> badgemodel)
Parameters
Returns
Caption(Action<TileCaptionBuilder>)
Section for caption specific functionalities and it represents the notification for tile items.
Declaration
public TilePropertiesBuilder Caption(Action<TileCaptionBuilder> captionModel)
Parameters
Returns
ClientSideEvents(Action<TileClientSideEventsBuilder>)
specifies ClientSideEvents.
Declaration
public TilePropertiesBuilder ClientSideEvents(Action<TileClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
CssClass(String)
Sets the root class for Tile theme. This cssClass API helps to use custom skinning option for Tile control. By defining the root class using this API, we need to include this root class in CSS.
Declaration
public TilePropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
|
Returns
EnablePersistence(Boolean)
Saves current model value to browser cookies for state maintains. While refreshing the page retains the model value applies from browser cookies.
Declaration
public TilePropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
|
Returns
Height(String)
Customize the tile size height.
Declaration
public TilePropertiesBuilder Height(string height)
Parameters
Type |
Name |
Description |
System.String |
height |
|
Returns
HtmlAttributes(IDictionary<String, Object>)
specifies HtmlAttributes.
Declaration
public TilePropertiesBuilder HtmlAttributes(IDictionary<string, object> itemHtmlAttributes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
itemHtmlAttributes |
|
Returns
ImageClass(String)
Specifies Tile imageClass, using this property we can give images for each tile through css classes.
Declaration
public TilePropertiesBuilder ImageClass(string imageClass)
Parameters
Type |
Name |
Description |
System.String |
imageClass |
|
Returns
ImagePosition(TileImagePosition)
Specifies the position of tile image.
Declaration
public TilePropertiesBuilder ImagePosition(TileImagePosition imagePosition)
Parameters
Returns
ImageTemplateId(String)
Specifies the tile image in outside of template content.
Declaration
public TilePropertiesBuilder ImageTemplateId(string templateId)
Parameters
Type |
Name |
Description |
System.String |
templateId |
|
Returns
ImageUrl(String)
Specifies the url of tile image.
Declaration
public TilePropertiesBuilder ImageUrl(string imageUrl)
Parameters
Type |
Name |
Description |
System.String |
imageUrl |
|
Returns
LiveTile(Action<LiveTileBuilder>)
Section for livetile specific functionalities.
Declaration
public TilePropertiesBuilder LiveTile(Action<LiveTileBuilder> liveTileModel)
Parameters
Returns
Locale(String)
Defines the localization culture for the Tile. A string argument 'locale' is passed.
Declaration
public TilePropertiesBuilder Locale(string locale)
Parameters
Type |
Name |
Description |
System.String |
locale |
|
Returns
Render()
Declaration
ShowRoundedCorner(Boolean)
Sets the rounded corner to tile.
Declaration
public TilePropertiesBuilder ShowRoundedCorner(bool roundedcorner)
Parameters
Type |
Name |
Description |
System.Boolean |
roundedcorner |
|
Returns
ShowText(Boolean)
Specifies whether the tile text to be shown or hidden.
Declaration
public TilePropertiesBuilder ShowText(bool showText)
Parameters
Type |
Name |
Description |
System.Boolean |
showText |
|
Returns
Text(String)
Declaration
public TilePropertiesBuilder Text(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
TextAlignment(TextAlignment)
deprecated
Aligns the text of a tile.
Declaration
public TilePropertiesBuilder TextAlignment(TextAlignment textAlignment)
Parameters
Returns
TileSize(TileSize)
Specifies the size of a tile.
Declaration
public TilePropertiesBuilder TileSize(TileSize tileSize)
Parameters
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Width(String)
Customize the tile size width.
Declaration
public TilePropertiesBuilder Width(string width)
Parameters
Type |
Name |
Description |
System.String |
width |
|
Returns
Implements
System.Web.IHtmlString