YearViewSettings
Provides configuration options for the Year view in the Gantt control. Inherits common view settings from BaseViewSettings.
Definition
Namespace:Telerik.Web.UI.Gantt
Assembly:Telerik.Web.UI.dll
Syntax:
public class YearViewSettings : BaseViewSettings, IMarkableStateManager, IStateManager, IYearViewSettings, IViewSettings
Inheritance: objectStateManagerBaseViewSettingsYearViewSettings
Implements:
Inherited Members
Constructors
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.
public virtual string MonthHeaderDateFormat { get; set; }
The client template used to render the header month slots in "month" and "year" views.
[PersistenceMode(PersistenceMode.InnerProperty)]
[ClientControlProperty]
[ClientPropertyName("monthHeaderTemplate")]
[Browsable(false)]
public string MonthHeaderTemplate { get; set; }
Returns the type of the view - Day, Week, Month or Year.
public override GanttViewType Type { get; }
Overrides:
Implements:
Gets or sets a value indicating whether to render a tab for the current view in the view chooser.
public override bool UserSelectable { get; set; }
true if a tab for the current view in the view chooser is rendered; otherwise, false.
Overrides:
Implements:
Gets or sets the year header date format string in YearView. It gets overwritten by the YearHeaderTemplate if the template is not empty.
public virtual string YearHeaderDateFormat { get; set; }
The client template used to render the header year slots in "year" view.
[PersistenceMode(PersistenceMode.InnerProperty)]
[ClientControlProperty]
[ClientPropertyName("yearHeaderTemplate")]
[Browsable(false)]
public string YearHeaderTemplate { get; set; }