Back to Devexpress

FetchAppointmentsEventArgs.ForceReloadAppointments Property

corelibraries-devexpress-dot-xtrascheduler-dot-fetchappointmentseventargs.md

latest3.2 KB
Original Source

FetchAppointmentsEventArgs.ForceReloadAppointments Property

Gets or sets whether the appointments collection should be reloaded after handling the SchedulerStorageBase.FetchAppointments event.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public bool ForceReloadAppointments { get; set; }
vb
Public Property ForceReloadAppointments As Boolean

Property Value

TypeDescription
Boolean

true to reload the appointments collection; otherwise, false.

|

Remarks

The ForceReloadAppointments property is related to the Web environment specifics. By setting it to true , an appointments collection is forced to be reloaded after adjusting the data source within the FetchAppointments event handler.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ForceReloadAppointments property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

asp-net-mvc-scheduler-fetch-appointment-event/CS/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.cs#L35

csharp
{
    args.ForceReloadAppointments = true;
    SchedulingDataClassesDataContext db = new SchedulingDataClassesDataContext();

asp-net-mvc-scheduler-fetch-appointment-event/VB/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.vb#L32

vb
Public Shared Function FetchAppointmentsHelperMethod(ByVal args As FetchAppointmentsEventArgs) As Object
    args.ForceReloadAppointments = True
    Dim db As New SchedulingDataClassesDataContext()

See Also

FetchAppointmentsEventArgs Class

FetchAppointmentsEventArgs Members

DevExpress.XtraScheduler Namespace