New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Provides configuration options for the Year view in the Gantt control. Inherits common view settings from BaseViewSettings.

Definition

Constructors

C#
public YearViewSettings()

Properties

Gets or sets the month header date format string in YearView. It gets overwritten by the MonthHeaderTemplate if the template is not empty.

C#
public virtual string MonthHeaderDateFormat { get; set; }

The client template used to render the header month slots in "month" and "year" views.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[ClientControlProperty]
[ClientPropertyName("monthHeaderTemplate")]
[Browsable(false)]
public string MonthHeaderTemplate { get; set; }

Returns the type of the view - Day, Week, Month or Year.

C#
public override GanttViewType Type { get; }

Overrides: BaseViewSettings.Type

Implements: IViewSettings.Type

Gets or sets a value indicating whether to render a tab for the current view in the view chooser.

C#
public override bool UserSelectable { get; set; }
Property Value:

true if a tab for the current view in the view chooser is rendered; otherwise, false.

Overrides: BaseViewSettings.UserSelectable

Implements: IViewSettings.UserSelectable

Gets or sets the year header date format string in YearView. It gets overwritten by the YearHeaderTemplate if the template is not empty.

C#
public virtual string YearHeaderDateFormat { get; set; }

The client template used to render the header year slots in "year" view.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[ClientControlProperty]
[ClientPropertyName("yearHeaderTemplate")]
[Browsable(false)]
public string YearHeaderTemplate { get; set; }