Back to Devexpress

BaseObjectSpace.Refreshing Event

expressappframework-devexpress-dot-expressapp-dot-baseobjectspace-d12217ef.md

latest1.9 KB
Original Source

BaseObjectSpace.Refreshing Event

Occurs before refreshing the current Object Space’s persistent objects.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler<CancelEventArgs> Refreshing
vb
Public Event Refreshing As EventHandler(Of CancelEventArgs)

Event Data

The Refreshing event's data class is CancelEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled.

Remarks

The Refreshing event is raised before updating persistent objects as a result of calling the BaseObjectSpace.Refresh method. Handle this event to prevent objects from refreshing. For this purpose, set the handler’s CancelEventArgs.Cancel parameter to true. By default, this parameter is set to false.

Implements

Refreshing

See Also

BaseObjectSpace Class

BaseObjectSpace Members

DevExpress.ExpressApp Namespace