New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
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

Initializes a new instance of the SchedulerMonthView class.

C#
public SchedulerMonthView()

Initializes a new instance of the SchedulerMonthView class.

C#
public SchedulerMonthView(DateTime startDate, bool showWeekend)
Parameters:startDateDateTime

The start date.

showWeekendbool

if set to true weekend days are shown.

Properties

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

C#
public bool EnableAppointmentsScrolling { get; set; }

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

C#
public bool EnableCellOverflowButton { get; set; }

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

C#
public bool EnableWeeksHeader { get; set; }

Gets or sets the end range of the vertical navigator.

C#
public DateTime RangeEndDate { get; set; }

Gets or sets the start range of the vertical navigator.

C#
public DateTime RangeStartDate { get; set; }

Gets or sets the width of the appointments' scrollbars

C#
public int ScrollBarsWidth { get; set; }

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

C#
public bool ShowFullMonth { get; set; }

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

C#
public bool ShowVerticalNavigator { get; set; }

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

C#
public virtual bool ShowWeekend { get; set; }
Property Value:

true if weekend days are shown; otherwise, false.

Implements: ISupportShowWeekend.ShowWeekend

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

C#
public bool ShowWeeksHeader { get; set; }

Gets the type of the view.

C#
public override SchedulerViewType ViewType { get; }
Property Value:

The type of the view.

Overrides: SchedulerView.ViewType

Gets or sets the week count.

C#
public virtual int WeekCount { get; set; }
Property Value:

The week count.

Gets the number of week days displayed.

C#
public virtual int WeekDaysCount { get; }

Gets or sets the last day of the working week.

C#
public DayOfWeek WorkWeekEnd { get; set; }

Implements: ISupportShowWeekend.WorkWeekEnd

Gets or sets the first day of the working week.

C#
public DayOfWeek WorkWeekStart { get; set; }

Implements: ISupportShowWeekend.WorkWeekStart

Methods

C#
protected virtual DateTime CalculateCorrectStartDate(DateTime date)
Parameters:dateDateTimeReturns:

DateTime

Copies the properties to view.

C#
protected override void CopyPropertiesToView(SchedulerView other)
Parameters:otherSchedulerView

The other.

Overrides: SchedulerView.CopyPropertiesToView(SchedulerView)

Creates the view with start date.

C#
protected override SchedulerView CreateViewWithStartDate(DateTime startDate)
Parameters:startDateDateTime

The start date.

Returns:

SchedulerView

Overrides: SchedulerView.CreateViewWithStartDate(DateTime)

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

C#
protected override DateTime GetEndDate(DateTime startDate)
Parameters:startDateDateTime

The start date.

Returns:

DateTime

Overrides: SchedulerView.GetEndDate(DateTime)

Gets the next view.

C#
public override SchedulerView GetNextView(int offset)
Parameters:offsetint

The offset.

Returns:

SchedulerView

Overrides: SchedulerView.GetNextView(int)

Gets the next view.

C#
public override SchedulerView GetNextView(NavigationStepTypes navigationStepType, int navigationStep)
Parameters:navigationStepTypeNavigationStepTypes

The navigation step type.

navigationStepint

The navigation step.

Returns:

SchedulerView

Overrides: SchedulerView.GetNextView(NavigationStepTypes, int)

Gets the previous view.

C#
public override SchedulerView GetPreviousView(int offset)
Parameters:offsetint

The offset.

Returns:

SchedulerView

Overrides: SchedulerView.GetPreviousView(int)

Gets the previous view.

C#
public override SchedulerView GetPreviousView(NavigationStepTypes navigationStepType, int navigationStep)
Parameters:navigationStepTypeNavigationStepTypes

The navigation step type.

navigationStepint

The navigation step.

Returns:

SchedulerView

Overrides: SchedulerView.GetPreviousView(NavigationStepTypes, int)

Gets the view containing date.

C#
public override SchedulerView GetViewContainingDate(DateTime date)
Parameters:dateDateTime

The date.

Returns:

SchedulerView

Overrides: SchedulerView.GetViewContainingDate(DateTime)

Checks if a given week day is a working day.

C#
public bool IsWorkingDay(DayOfWeek dayOfWeek)
Parameters:dayOfWeekDayOfWeek

The week day.

Returns:

bool

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

Implements: ISupportShowWeekend.IsWorkingDay(DayOfWeek)

Offsets the view.

C#
public override SchedulerView OffsetView(int offset)
Parameters:offsetint

The offset.

Returns:

SchedulerView

Overrides: SchedulerView.OffsetView(int)

C#
protected override bool SetStartDate(DateTime value)
Parameters:valueDateTimeReturns:

bool

Overrides: SchedulerView.SetStartDate(DateTime)

C#
protected override void UpdateOnPropertyChange(string propertyName)
Parameters:propertyNamestring

Overrides: SchedulerView.UpdateOnPropertyChange(string)