menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Timeline - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Timeline

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    Timeline
    Namespace: Syncfusion.EJ2.Layouts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Timeline : EJTagHelper

    Constructors

    Timeline()

    Declaration
    public Timeline()

    Properties

    Align

    Defines the alignment of item content within the Timeline.

    Declaration
    public TimelineAlign Align { get; set; }
    Property Value
    Type Description
    TimelineAlign

    The default value is TimelineAlign.After

    BeforeItemRender

    Event triggers before rendering each item.

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

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Created

    Event callback that is raised after rendering the timeline.

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

    The default value is null

    CssClass

    Defines the CSS class to customize the Timeline appearance.

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

    The default value is ""

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

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

    The default value is false

    EnableRtl

    Enable or disable rendering component in right to left direction.

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

    The default value is false

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type
    System.Object

    Items

    Defines the list of items.

    Declaration
    public List<TimelineItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<TimelineItem>

    The default value is null

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

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

    The default value is ""

    Orientation

    Defines the orientation type of the Timeline.

    Declaration
    public TimelineOrientation Orientation { get; set; }
    Property Value
    Type Description
    TimelineOrientation

    The default value is TimelineOrientation.Vertical

    Reverse

    Defines whether to show the timeline items in reverse order or not.

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

    The default value is false

    Template

    Defines the template content for each timeline item. The template context will contain the item model.

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

    The default value is ""

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved