Class
SchedulerMonthView

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class SchedulerMonthView : SchedulerView, INotifyPropertyChanged, ISupportShowWeekend

Inheritance: objectSchedulerViewSchedulerMonthView

Implements: INotifyPropertyChangedISupportShowWeekend

Inherited Members SchedulerView.nullableStartDateSchedulerView.IsAllDayEvent(IEvent)SchedulerView.CreateView(SchedulerViewType)SchedulerView.UpdateAppointments(ObservableCollection<IEvent>)SchedulerView.AddAppointment(IEvent)SchedulerView.RemoveAppointment(IEvent)SchedulerView.AppointmentChanged(IEvent, string)SchedulerView.IsViewInAccessibleInterval(DateTime)SchedulerView.IsDateInView(DateTime)SchedulerView.IsAppointmentInView(IEvent)SchedulerView.IsResourceIntersectsWithViewResources(IEvent)SchedulerView.AddResources(SchedulerResourceCollection)SchedulerView.GetResources()SchedulerView.GetResource()SchedulerView.GetResourceId()SchedulerView.GetViewContainingDate(DateTime, int)SchedulerView.GetPreviousView()SchedulerView.GetNextView()SchedulerView.GetPreviousViewWithAppointments(IEnumerable<IEvent>)SchedulerView.CalculatePreviousView(IEnumerable<IEvent>, DateTime)SchedulerView.GetNextViewWithAppointments(IEnumerable<IEvent>)SchedulerView.CalculateNextDate(IEnumerable<IEvent>, ref DateTime)SchedulerView.GetFirstAppointment()SchedulerView.GetLastAppointment()SchedulerView.SetDefaultTimeZone(SchedulerTimeZone)SchedulerView.OnPropertyChanged(params string[])SchedulerView.DefaultTimeZoneSchedulerView.OffsetTimeSpanSchedulerView.StartDateSchedulerView.CurrentDateSchedulerView.NameSchedulerView.VisibleSchedulerView.ReadOnlySchedulerView.GroupSeparatorWidthSchedulerView.AllowResourcesScrollingSchedulerView.ResourcesPerViewSchedulerView.SchedulerSchedulerView.AppointmentsSchedulerView.AppointmentTitleFormatSchedulerView.EndDateSchedulerView.ShowHeaderSchedulerView.AllowToolTipsSchedulerView.AllowAppointmentResizeSchedulerView.AllowAppointmentMoveSchedulerView.CellToolTipFormatSchedulerView.PropertyChanged

Constructors

SchedulerMonthView()

Initializes a new instance of the SchedulerMonthView class.

Declaration

cs-api-definition
public SchedulerMonthView()

SchedulerMonthView(DateTime, bool)

Initializes a new instance of the SchedulerMonthView class.

Declaration

cs-api-definition
public SchedulerMonthView(DateTime startDate, bool showWeekend)

Parameters

startDate

DateTime

The start date.

showWeekend

bool

if set to true weekend days are shown.

Properties

EnableAppointmentsScrolling

Gets or sets a value indicating whether the user can scroll the appointments in month cells.

Declaration

cs-api-definition
public bool EnableAppointmentsScrolling { get; set; }

Property Value

bool

EnableCellOverflowButton

Gets or sets a value indicating whether the overflow button is enabled in month cells.

Declaration

cs-api-definition
public bool EnableCellOverflowButton { get; set; }

Property Value

bool

EnableWeeksHeader

Gets or sets a value indicating whether to enable quick navigation to week view from month view.

Declaration

cs-api-definition
public bool EnableWeeksHeader { get; set; }

Property Value

bool

RangeEndDate

Gets or sets the end range of the vertical navigator.

Declaration

cs-api-definition
public DateTime RangeEndDate { get; set; }

Property Value

DateTime

RangeStartDate

Gets or sets the start range of the vertical navigator.

Declaration

cs-api-definition
public DateTime RangeStartDate { get; set; }

Property Value

DateTime

ScrollBarsWidth

Gets or sets the width of the appointments' scrollbars

Declaration

cs-api-definition
public int ScrollBarsWidth { get; set; }

Property Value

int

ShowFullMonth

Gets or sets a value indicating whether this view should always display exactly one month with the respective number of weeks.

Declaration

cs-api-definition
public bool ShowFullMonth { get; set; }

Property Value

bool

ShowVerticalNavigator

Gets or sets a value indicating whether the vertical navigator should be displayed.

Declaration

cs-api-definition
public bool ShowVerticalNavigator { get; set; }

Property Value

bool

ShowWeekend

Gets or sets a value indicating whether weekend days are shown.

Declaration

cs-api-definition
public virtual bool ShowWeekend { get; set; }

Property Value

bool

true if weekend days are shown; otherwise, false.

Implements ISupportShowWeekend.ShowWeekend

ShowWeeksHeader

Gets or sets a value indicating whether to show the weeks header

Declaration

cs-api-definition
public bool ShowWeeksHeader { get; set; }

Property Value

bool

ViewType

Gets the type of the view.

Declaration

cs-api-definition
public override SchedulerViewType ViewType { get; }

Property Value

SchedulerViewType

The type of the view.

Overrides SchedulerView.ViewType

WeekCount

Gets or sets the week count.

Declaration

cs-api-definition
public virtual int WeekCount { get; set; }

Property Value

int

The week count.

WeekDaysCount

Gets the number of week days displayed.

Declaration

cs-api-definition
public virtual int WeekDaysCount { get; }

Property Value

int

WorkWeekEnd

Gets or sets the last day of the working week.

Declaration

cs-api-definition
public DayOfWeek WorkWeekEnd { get; set; }

Property Value

DayOfWeek

Implements ISupportShowWeekend.WorkWeekEnd

WorkWeekStart

Gets or sets the first day of the working week.

Declaration

cs-api-definition
public DayOfWeek WorkWeekStart { get; set; }

Property Value

DayOfWeek

Implements ISupportShowWeekend.WorkWeekStart

Methods

CalculateCorrectStartDate(DateTime)

Declaration

cs-api-definition
protected virtual DateTime CalculateCorrectStartDate(DateTime date)

Parameters

date

DateTime

Returns

DateTime

CopyPropertiesToView(SchedulerView)

Copies the properties to view.

Declaration

cs-api-definition
protected override void CopyPropertiesToView(SchedulerView other)

Parameters

other

SchedulerView

The other.

Overrides SchedulerView.CopyPropertiesToView(SchedulerView)

CreateViewWithStartDate(DateTime)

Creates the view with start date.

Declaration

cs-api-definition
protected override SchedulerView CreateViewWithStartDate(DateTime startDate)

Parameters

startDate

DateTime

The start date.

Returns

SchedulerView

Overrides SchedulerView.CreateViewWithStartDate(DateTime)

GetEndDate(DateTime)

Gets the end date for that SchedulerView given a start date.

Declaration

cs-api-definition
protected override DateTime GetEndDate(DateTime startDate)

Parameters

startDate

DateTime

The start date.

Returns

DateTime

Overrides SchedulerView.GetEndDate(DateTime)

GetNextView(NavigationStepTypes, int)

Gets the next view.

Declaration

cs-api-definition
public override SchedulerView GetNextView(NavigationStepTypes navigationStepType, int navigationStep)

Parameters

navigationStepType

NavigationStepTypes

The navigation step type.

navigationStep

int

The navigation step.

Returns

SchedulerView

Overrides SchedulerView.GetNextView(NavigationStepTypes, int)

GetNextView(int)

Gets the next view.

Declaration

cs-api-definition
public override SchedulerView GetNextView(int offset)

Parameters

offset

int

The offset.

Returns

SchedulerView

Overrides SchedulerView.GetNextView(int)

GetPreviousView(NavigationStepTypes, int)

Gets the previous view.

Declaration

cs-api-definition
public override SchedulerView GetPreviousView(NavigationStepTypes navigationStepType, int navigationStep)

Parameters

navigationStepType

NavigationStepTypes

The navigation step type.

navigationStep

int

The navigation step.

Returns

SchedulerView

Overrides SchedulerView.GetPreviousView(NavigationStepTypes, int)

GetPreviousView(int)

Gets the previous view.

Declaration

cs-api-definition
public override SchedulerView GetPreviousView(int offset)

Parameters

offset

int

The offset.

Returns

SchedulerView

Overrides SchedulerView.GetPreviousView(int)

GetViewContainingDate(DateTime)

Gets the view containing date.

Declaration

cs-api-definition
public override SchedulerView GetViewContainingDate(DateTime date)

Parameters

date

DateTime

The date.

Returns

SchedulerView

Overrides SchedulerView.GetViewContainingDate(DateTime)

IsWorkingDay(DayOfWeek)

Checks if a given week day is a working day.

Declaration

cs-api-definition
public bool IsWorkingDay(DayOfWeek dayOfWeek)

Parameters

dayOfWeek

DayOfWeek

The week day.

Returns

bool

[true] if the week day is a working day, [false] otherwise.

Implements ISupportShowWeekend.IsWorkingDay(DayOfWeek)

OffsetView(int)

Offsets the view.

Declaration

cs-api-definition
public override SchedulerView OffsetView(int offset)

Parameters

offset

int

The offset.

Returns

SchedulerView

Overrides SchedulerView.OffsetView(int)

SetStartDate(DateTime)

Declaration

cs-api-definition
protected override bool SetStartDate(DateTime value)

Parameters

value

DateTime

Returns

bool

Overrides SchedulerView.SetStartDate(DateTime)

UpdateOnPropertyChange(string)

Declaration

cs-api-definition
protected override void UpdateOnPropertyChange(string propertyName)

Parameters

propertyName

string

Overrides SchedulerView.UpdateOnPropertyChange(string)