New to Telerik UI for WinForms? Start a free 30-day trial

Lists appointments across a configurable date span, with optional grouping by appointment date.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerAgendaView : SchedulerView, INotifyPropertyChanged

Inheritance: objectSchedulerViewSchedulerAgendaView

Implements: INotifyPropertyChanged

Inherited Members SchedulerView.nullableStartDateSchedulerView.IsAllDayEvent(IEvent)SchedulerView.CreateView(SchedulerViewType)SchedulerView.UpdateAppointments(ObservableCollection<IEvent>)SchedulerView.AddAppointment(IEvent)SchedulerView.RemoveAppointment(IEvent)SchedulerView.IsViewInAccessibleInterval(DateTime)SchedulerView.SetStartDate(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.UpdateOnPropertyChange(string)SchedulerView.DefaultTimeZoneSchedulerView.OffsetTimeSpanSchedulerView.StartDateSchedulerView.CurrentDateSchedulerView.NameSchedulerView.VisibleSchedulerView.ReadOnlySchedulerView.GroupSeparatorWidthSchedulerView.AllowResourcesScrollingSchedulerView.ResourcesPerViewSchedulerView.SchedulerSchedulerView.AppointmentsSchedulerView.AppointmentTitleFormatSchedulerView.EndDateSchedulerView.ShowHeaderSchedulerView.AllowToolTipsSchedulerView.AllowAppointmentResizeSchedulerView.AllowAppointmentMoveSchedulerView.CellToolTipFormatSchedulerView.PropertyChanged...

Constructors

C#
public SchedulerAgendaView()

Properties

Gets or sets the number of days displayed in the view.

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

An integer that specifies the number of days whose appointments are listed in the view.

Gets or sets whether the agenda grid groups appointments by date.

C#
public virtual bool GroupByDate { get; set; }

Gets the type of the view.

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

The type of the view.

Overrides: SchedulerView.ViewType

Methods

Raises an additional property-change notification when an appointment's recurrence rule changes, allowing the agenda grid to rebuild its displayed occurrences.

C#
protected override void AppointmentChanged(IEvent appointment, string propertyName)
Parameters:appointmentIEvent

The appointment whose property changed.

propertyNamestring

The name of the changed appointment property.

Overrides: SchedulerView.AppointmentChanged(IEvent, string)

Copies the properties to view.

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

The other view.

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)

Collects appointments relevant to this agenda view, converting timed appointments to the active view's time zone. The supplied date range is used for all-day appointments; timed appointments are tested against this view's current date range.

C#
protected List<IEvent> GetAppointments(DateTime startDate, DateTime endDate)
Parameters:startDateDateTime

The start date used to test all-day appointments.

endDateDateTime

The end date used to test all-day appointments, inclusive by calendar date.

Returns:

List<IEvent>

The matching appointments from the scheduler's appointment collection.

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)

Creates an agenda view whose start date is shifted by the specified number of calendar days.

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

The number of days to move forward; negative values move backward.

Returns:

SchedulerView

A new agenda view with the shifted date span.

Overrides: SchedulerView.GetNextView(int)

Creates an agenda view after applying the specified number of scheduler-calendar navigation steps.

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

The calendar unit to use, such as days, weeks, or months.

navigationStepint

The signed number of units to move; positive values move forward and negative values move backward.

Returns:

SchedulerView

A new agenda view starting at the calculated date.

Overrides: SchedulerView.GetNextView(NavigationStepTypes, int)

Creates an agenda view whose start date is shifted backward by the specified number of days.

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

The signed number of days; positive values move backward and negative values move forward.

Returns:

SchedulerView

A new agenda view with the shifted date span.

Overrides: SchedulerView.GetPreviousView(int)

Creates an agenda view after applying the specified number of scheduler-calendar navigation steps backward.

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

The calendar unit to use, such as days, weeks, or months.

navigationStepint

The signed number of units to move; positive values move backward and negative values move forward.

Returns:

SchedulerView

A new agenda view starting at the calculated date.

Overrides: SchedulerView.GetPreviousView(NavigationStepTypes, int)

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

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

DateTime object that is used to create the Scheduler View.

Returns:

SchedulerView

The created Scheduler View object.

Overrides: SchedulerView.GetViewContainingDate(DateTime)