Class
SchedulerWeekView

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class SchedulerWeekView : SchedulerDayViewBase, INotifyPropertyChanged, IDisposable, ISupportShowWeekend

Inheritance: objectSchedulerViewSchedulerDayViewBaseSchedulerWeekView

Implements: IDisposableINotifyPropertyChangedISupportShowWeekend

Inherited Members SchedulerDayViewBase.GetPreviousView(NavigationStepTypes, int)SchedulerDayViewBase.GetNextView(NavigationStepTypes, int)SchedulerDayViewBase.GetEndDate(DateTime)SchedulerDayViewBase.GetDateForColumn(int)SchedulerDayViewBase.GetDateForColumn(int, RadScheduler)SchedulerDayViewBase.GetDateForCell(int, int, RadScheduler)SchedulerDayViewBase.GetDateForCell(int, int)SchedulerDayViewBase.GetColumnForDate(DateTime)SchedulerDayViewBase.GetNumberOfCellsPerHour()SchedulerDayViewBase.GetRowsCount()SchedulerDayViewBase.IsWorkingDay(DayOfWeek)SchedulerDayViewBase.IsWorkTime(DateTime)SchedulerDayViewBase.Dispose()SchedulerDayViewBase.RulerStartScaleMinutesSchedulerDayViewBase.RulerEndScaleMinutesSchedulerDayViewBase.WorkTimeExceptionsSchedulerDayViewBase.WorkWeekStartSchedulerDayViewBase.WorkWeekEndSchedulerDayViewBase.DefaultTimeZoneSchedulerDayViewBase.AutoScrollToWorkTimeSchedulerDayViewBase.RulerScaleSizeSchedulerDayViewBase.RulerFormatStringsSchedulerDayViewBase.WorkTimeSchedulerDayViewBase.ShowRulerSchedulerDayViewBase.RulerStartScaleSchedulerDayViewBase.RulerEndScaleSchedulerDayViewBase.RulerWidthSchedulerDayViewBase.TimeZonesSchedulerDayViewBase.RangeFactorSchedulerDayViewBase.CurrentTimeSchedulerDayViewBase.ShowAllDayAreaSchedulerDayViewBase.CanSetDayCountSchedulerView.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.OffsetView(int)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.OffsetTimeSpanSchedulerView.StartDateSchedulerView.CurrentDateSchedulerView.NameSchedulerView.VisibleSchedulerView.ReadOnlySchedulerView.GroupSeparatorWidthSchedulerView.AllowResourcesScrollingSchedulerView.ResourcesPerViewSchedulerView.SchedulerSchedulerView.AppointmentsSchedulerView.AppointmentTitleFormatSchedulerView.EndDateSchedulerView.ShowHeaderSchedulerView.AllowToolTipsSchedulerView.AllowAppointmentResizeSchedulerView.AllowAppointmentMoveSchedulerView.CellToolTipFormatSchedulerView.PropertyChanged

Constructors

SchedulerWeekView()

Initializes a new instance of the SchedulerWeekView class.

Declaration

cs-api-definition
public SchedulerWeekView()

SchedulerWeekView(DateTime, bool)

Declaration

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

Parameters

startDate

DateTime

showWeekend

bool

Properties

DayCount

Gets or sets the day count.

Declaration

cs-api-definition
[Browsable(false)]
public override int DayCount { get; set; }

Property Value

int

The day count.

Overrides SchedulerDayViewBase.DayCount

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

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

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 SchedulerDayViewBase.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 SchedulerDayViewBase.CreateViewWithStartDate(DateTime)

GetNextView(int)

Gets the next view.

Declaration

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

Parameters

offset

int

The offset.

Returns

SchedulerView

Overrides SchedulerDayViewBase.GetNextView(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 SchedulerDayViewBase.GetPreviousView(int)

GetViewContainingDate(DateTime)

Creates a Scheduler View object based on the logic implemented by the Scheduler View instance that implements the method.

Declaration

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

Parameters

date

DateTime

DateTime object that is used to create the Scheduler View.

Returns

SchedulerView

The created Scheduler View object.

Overrides SchedulerDayViewBase.GetViewContainingDate(DateTime)

SetStartDate(DateTime)

Declaration

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

Parameters

value

DateTime

Returns

bool

Overrides SchedulerView.SetStartDate(DateTime)

UpdateOnPropertyChange(string)

Called when a property is changed.

Declaration

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

Parameters

propertyName

string

Name of the property.

Overrides SchedulerDayViewBase.UpdateOnPropertyChange(string)