Year view

Initialization

public ActionResult Index() {
    var sched = new DHXScheduler(this);
    ...
    var year= new YearView();//initializes the view
    sched.Views.Add(year);//adds the view to the scheduler
 
    return View(sched);
}

Properties

  • Label - (string) the text label. The default value - 'Year'.
  • Name - (string) the name of the view. The property is read-only. By default - 'year'.
  • TabClass - (string) the name of a css class that will be applied to the tab.
  • TabPosition - (integer) the right offset of the view tab in the tabbar. By default, tabs go right-to-left in the order of addition to the scheduler.
  • TabStyle - (string) the style that will be applied to the tab.
  • TabWidth - (integer) the width of the tab
  • ViewType - (string) the type of the view. The property is read-only.

comments powered by Disqus