menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Tile

    Show / Hide Table of Contents

    Class Tile

    Inheritance
    System.Object
    CommonControl
    Tile
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonControl.RaisePostBackEvent(String)
    CommonControl.OnInit(EventArgs)
    CommonControl.OnLoad(EventArgs)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class Tile : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    Tile()

    Declaration
    public Tile()

    Properties

    AllowSelection

    Specifies whether allowSelection to tile.

    Declaration
    public bool AllowSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    BackgroundColor

    Specifies the background color to tile.

    Declaration
    public string BackgroundColor { get; set; }
    Property Value
    Type Description
    System.String

    BadgeTile

    Badge Tile properties.

    Declaration
    [JsonProperty("badge")]
    public TileBadgeProperties BadgeTile { get; set; }
    Property Value
    Type Description
    TileBadgeProperties

    CaptionTile

    Gets or sets Caption Tile properties.

    Declaration
    [JsonProperty("caption")]
    public TileCaptionProperties CaptionTile { get; set; }
    Property Value
    Type Description
    TileCaptionProperties

    ClientSideOnCreate

    Occurs before a Tile control Create.

    Declaration
    public string ClientSideOnCreate { get; set; }
    Property Value
    Type Description
    System.String

    The client side on create.

    ClientSideOnDestroy

    Occurs when a Tile control destroyed.

    Declaration
    public string ClientSideOnDestroy { get; set; }
    Property Value
    Type Description
    System.String

    The client side on destroy.

    ClientSideOnMouseDown

    Event triggers when the mousedown happens in the tile

    Declaration
    public string ClientSideOnMouseDown { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnMouseUp

    Event triggers when the mouseup happens in the tile

    Declaration
    public string ClientSideOnMouseUp { get; set; }
    Property Value
    Type Description
    System.String

    Height

    Customize the tile size height.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    ImageClass

    Specifies Tile imageClass, using this property we can give images for each tile through CSS classes.

    Declaration
    public string ImageClass { get; set; }
    Property Value
    Type Description
    System.String

    ImagePosition

    Specifies the position of tile image.

    Declaration
    public TileImagePosition ImagePosition { get; set; }
    Property Value
    Type Description
    TileImagePosition

    ImageTemplateId

    Specifies the tile image in outside of template content.

    Declaration
    public string ImageTemplateId { get; set; }
    Property Value
    Type Description
    System.String

    ImageUrl

    Specifies the URL of tile image.

    Declaration
    public string ImageUrl { get; set; }
    Property Value
    Type Description
    System.String

    LiveTile

    Gets or sets Live Tile properties.

    Declaration
    [JsonProperty("liveTile")]
    public LiveTileProperties LiveTile { get; set; }
    Property Value
    Type Description
    LiveTileProperties

    Locale

    Defines the localization culture for the Tile

    Declaration
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    Model

    Get or sets the TileProperties model

    Declaration
    public TileProperties Model { get; set; }
    Property Value
    Type Description
    TileProperties

    showRoundedCorner

    Specifies whether to display the tile with rounded corners.

    Declaration
    public bool showRoundedCorner { get; set; }
    Property Value
    Type Description
    System.Boolean

    ShowText

    Specifies whether the tile text to be shown or hidden.

    Declaration
    public bool ShowText { get; set; }
    Property Value
    Type Description
    System.Boolean

    Text

    Changes the text of a tile.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    TextAlignment

    Aligns the text of a tile. i.e left, right or center.

    Declaration
    public TextAlignment TextAlignment { get; set; }
    Property Value
    Type Description
    TextAlignment

    TileSize

    Specifies the size of a tile. i.e small, medium, large or wide.

    Declaration
    public TileSize TileSize { get; set; }
    Property Value
    Type Description
    TileSize

    Width

    Customize the tile size width.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    DependentScripts()

    Get the dependent script for Tile control

    Declaration
    public List<string> DependentScripts()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    GetDependentFiles()

    Get the dependent files for Tile control

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonControl.GetDependentFiles()

    LoadViewState(Object)

    Restores view-state information from a previous page request.

    Declaration
    protected override void LoadViewState(object state)
    Parameters
    Type Name Description
    System.Object state
    Overrides
    CommonControl.LoadViewState(Object)

    OnPreRender(EventArgs)

    Modifying server controls before sending them to the client.

    Declaration
    protected override void OnPreRender(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    PostBackEventHandler(String, Dictionary<String, Object>)

    Gets a value that indicates whether the page is being loaded in response to a postback.

    Declaration
    public override void PostBackEventHandler(string eventName, Dictionary<string, object> args)
    Parameters
    Type Name Description
    System.String eventName
    System.Collections.Generic.Dictionary<System.String, System.Object> args
    Overrides
    CommonControl.PostBackEventHandler(String, Dictionary<String, Object>)

    Render()

    Render this instance

    Declaration
    public string Render()
    Returns
    Type Description
    System.String

    Render(HtmlTextWriter)

    Render method for rendering contro

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    System.Web.UI.HtmlTextWriter writer
    Overrides
    CommonControl.Render(HtmlTextWriter)

    UpdateServerModel(Dictionary<String, Object>)

    Maintaining viewstate model values on post back

    Declaration
    public override void UpdateServerModel(Dictionary<string, object> clientModel)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Object> clientModel
    Overrides
    CommonControl.UpdateServerModel(Dictionary<String, Object>)

    Events

    MouseDown

    Triggered when the Tile item is clicked.

    Declaration
    public event Tile.TileEventHandler MouseDown
    Event Type
    Type Description
    Tile.TileEventHandler

    Implements

    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved