Class ScheduleHeaderOptionsBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class ScheduleHeaderOptionsBuilder
Constructors
ScheduleHeaderOptionsBuilder(ScheduleHeaderSettings)
It set the customization for schedule header
Declaration
public ScheduleHeaderOptionsBuilder(ScheduleHeaderSettings scheduleHeader)
Parameters
Type | Name | Description |
---|---|---|
ScheduleHeaderSettings | scheduleHeader | It accepts the customization fof schedule header |
Methods
DayHeaderFormat(String)
It sets the format for day view in schedule header
Declaration
public ScheduleHeaderOptionsBuilder DayHeaderFormat(string dayHeaderFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | dayHeaderFormat | It accepts the string value and set the format for day view |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
HourHeaderFormat(String)
It sets the format for Hour view in schedule header
Declaration
public ScheduleHeaderOptionsBuilder HourHeaderFormat(string hourHeaderFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | hourHeaderFormat | It accepts the string value and set the format for hour view |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
MinutesPerInterval(GanttMinutesPerInterval)
It sets the number of minutes per interval
Declaration
public ScheduleHeaderOptionsBuilder MinutesPerInterval(GanttMinutesPerInterval minutesPerInterval)
Parameters
Type | Name | Description |
---|---|---|
GanttMinutesPerInterval | minutesPerInterval | It accepts the type of minutes per interval |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
MonthHeaderFormat(String)
It sets the format for month view in schedule header
Declaration
public ScheduleHeaderOptionsBuilder MonthHeaderFormat(string monthHeaderFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | monthHeaderFormat | It accepts the string value and set the format for month view |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
ScheduleHeaderType(GanttScheduleHeaderType)
It sets the type of schedule header
Declaration
public ScheduleHeaderOptionsBuilder ScheduleHeaderType(GanttScheduleHeaderType scheduleHeaderType)
Parameters
Type | Name | Description |
---|---|---|
GanttScheduleHeaderType | scheduleHeaderType | It accepts the type of schedule header type |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
TimescaleStartDateMode(GanttTimescaleRoundMode)
It sets the time scale round off mode
Declaration
public ScheduleHeaderOptionsBuilder TimescaleStartDateMode(GanttTimescaleRoundMode roundTimeScaleMode)
Parameters
Type | Name | Description |
---|---|---|
GanttTimescaleRoundMode | roundTimeScaleMode | It accepts the mode of time scale round off |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
TimescaleUnitSize(String)
It set the size of the timescale unit in gantt
Declaration
public ScheduleHeaderOptionsBuilder TimescaleUnitSize(string scheduleTimescaleUnitSize)
Parameters
Type | Name | Description |
---|---|---|
System.String | scheduleTimescaleUnitSize | It accepts the size of the time scale unit |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
UpdateTimescaleView(Boolean)
Declaration
public ScheduleHeaderOptionsBuilder UpdateTimescaleView(bool updateTimescaleView)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | updateTimescaleView |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder |
WeekendBackground(String)
It sets the background for weekends in gantt
Declaration
public ScheduleHeaderOptionsBuilder WeekendBackground(string scheduleWeekendBackground)
Parameters
Type | Name | Description |
---|---|---|
System.String | scheduleWeekendBackground | It accepts the string value and set the week end background color |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
WeekHeaderFormat(String)
It sets the format for week view in schedule header
Declaration
public ScheduleHeaderOptionsBuilder WeekHeaderFormat(string weekHeaderFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | weekHeaderFormat | It accepts the string value and set the format of week view |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
WeekStartDay(Int32)
It set the start day of the week
Declaration
public ScheduleHeaderOptionsBuilder WeekStartDay(int weekStartDay)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | weekStartDay | It accepts the index of week day |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |
YearHeaderFormat(String)
It sets the format for year view in schedule header
Declaration
public ScheduleHeaderOptionsBuilder YearHeaderFormat(string yearHeaderFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | yearHeaderFormat | It accepts the string value and set the format for year view |
Returns
Type | Description |
---|---|
ScheduleHeaderOptionsBuilder | ScheduleHeaderOptionsBuilder |