Class SchedulerMonthView
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerMonthView : SchedulerView, INotifyPropertyChanged, ISupportShowWeekend
Constructors
SchedulerMonthView()
SchedulerMonthView(DateTime, Boolean)
Initializes a new instance of the SchedulerMonthView class.
Declaration
public SchedulerMonthView(DateTime startDate, bool showWeekend)
Parameters
System.DateTime
startDate
The start date. |
System.Boolean
showWeekend
if set to |
Properties
EnableAppointmentsScrolling
Gets or sets a value indicating whether the user can scroll the appointments in month cells.
Declaration
public bool EnableAppointmentsScrolling { get; set; }
Property Value
System.Boolean
|
EnableCellOverflowButton
Gets or sets a value indicating whether the overflow button is enabled in month cells.
Declaration
public bool EnableCellOverflowButton { get; set; }
Property Value
System.Boolean
|
EnableWeeksHeader
Gets or sets a value indicating whether to enable quick navigation to week view from month view.
Declaration
public bool EnableWeeksHeader { get; set; }
Property Value
System.Boolean
|
RangeEndDate
Gets or sets the end range of the vertical navigator.
Declaration
public DateTime RangeEndDate { get; set; }
Property Value
System.DateTime
|
RangeStartDate
Gets or sets the start range of the vertical navigator.
Declaration
public DateTime RangeStartDate { get; set; }
Property Value
System.DateTime
|
ScrollBarsWidth
Gets or sets the width of the appointments' scrollbars
Declaration
public int ScrollBarsWidth { get; set; }
Property Value
System.Int32
|
ShowFullMonth
Gets or sets a value indicating whether this view should always display exactly one month with the respective number of weeks.
Declaration
public bool ShowFullMonth { get; set; }
Property Value
System.Boolean
|
ShowVerticalNavigator
ShowWeekend
Gets or sets a value indicating whether weekend days are shown.
Declaration
public virtual bool ShowWeekend { get; set; }
Property Value
System.Boolean
|
Implements
ShowWeeksHeader
Gets or sets a value indicating whether to show the weeks header
Declaration
public bool ShowWeeksHeader { get; set; }
Property Value
System.Boolean
|
ViewType
Gets the type of the view.
Declaration
public override SchedulerViewType ViewType { get; }
Property Value
SchedulerViewType
The type of the view. |
Overrides
WeekCount
Gets or sets the week count.
Declaration
public virtual int WeekCount { get; set; }
Property Value
System.Int32
The week count. |
WeekDaysCount
Gets the number of week days displayed.
Declaration
public virtual int WeekDaysCount { get; }
Property Value
System.Int32
|
WorkWeekEnd
Gets or sets the last day of the working week.
Declaration
public DayOfWeek WorkWeekEnd { get; set; }
Property Value
System.DayOfWeek
|
Implements
WorkWeekStart
Gets or sets the first day of the working week.
Declaration
public DayOfWeek WorkWeekStart { get; set; }
Property Value
System.DayOfWeek
|
Implements
Methods
CalculateCorrectStartDate(DateTime)
Declaration
protected virtual DateTime CalculateCorrectStartDate(DateTime date)
Parameters
System.DateTime
date
|
Returns
System.DateTime
|
CopyPropertiesToView(SchedulerView)
Copies the properties to view.
Declaration
protected override void CopyPropertiesToView(SchedulerView other)
Parameters
SchedulerView
other
The other. |
Overrides
CreateViewWithStartDate(DateTime)
Creates the view with start date.
Declaration
protected override SchedulerView CreateViewWithStartDate(DateTime startDate)
Parameters
System.DateTime
startDate
The start date. |
Returns
SchedulerView
|
Overrides
GetEndDate(DateTime)
Gets the end date for that SchedulerView given a start date.
Declaration
protected override DateTime GetEndDate(DateTime startDate)
Parameters
System.DateTime
startDate
The start date. |
Returns
System.DateTime
|
Overrides
GetNextView(Int32)
Gets the next view.
Declaration
public override SchedulerView GetNextView(int offset)
Parameters
System.Int32
offset
The offset. |
Returns
SchedulerView
|
Overrides
GetNextView(NavigationStepTypes, Int32)
GetPreviousView(Int32)
Gets the previous view.
Declaration
public override SchedulerView GetPreviousView(int offset)
Parameters
System.Int32
offset
The offset. |
Returns
SchedulerView
|
Overrides
GetPreviousView(NavigationStepTypes, Int32)
GetViewContainingDate(DateTime)
Declaration
public override SchedulerView GetViewContainingDate(DateTime date)
Parameters
System.DateTime
date
|
Returns
SchedulerView
|
Overrides
IsWorkingDay(DayOfWeek)
Checks if a given week day is a working day.
Declaration
public bool IsWorkingDay(DayOfWeek dayOfWeek)
Parameters
System.DayOfWeek
dayOfWeek
The week day. |
Returns
System.Boolean
[true] if the week day is a working day, [false] otherwise. |
Implements
OffsetView(Int32)
Declaration
public override SchedulerView OffsetView(int offset)
Parameters
System.Int32
offset
|
Returns
SchedulerView
|
Overrides
SetStartDate(DateTime)
Declaration
protected override bool SetStartDate(DateTime value)
Parameters
System.DateTime
value
|
Returns
System.Boolean
|
Overrides
UpdateOnPropertyChange(String)
Declaration
protected override void UpdateOnPropertyChange(string propertyName)
Parameters
System.String
propertyName
|