.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

View Events

The base class for Views.
Name Description
Activated Occurs when the View.RaiseActivated method is executed.
AllowDeleteChanged Occurs when the current View's View.AllowDelete state has changed.
AllowEditChanged Occurs when the current View's View.AllowEdit state has changed.
AllowNewChanged Occurs when the current View's View.AllowNew state has changed.
CaptionChanged Occurs after changing a View's caption.
Closed Occurs after the current View is closed.
Closing Occurs when closing a View.
ControlsCreated Occurs after controls for a View are created.
ControlsCreating Occurs before creating controls for a View.
CurrentObjectChanged Occurs after changing a View's focused object (not an object's property value).
CustomizeViewShortcut Occurs when the View.CreateShortcut method creates a View Shortcut for the current View.
CustomModelSaving Occurs when saving information on a View's editor(s) to the Application Model.
DataSourceAsyncLoaded For internal use.
DataSourceAsyncLoading For internal use.
DataSourceAsyncLoadingCanceled For internal use.
Disposing Occurs when the current View is disposed of.
ModelChanged Occurs after setting the View.Model property for a View.
ModelChanging Occurs before setting the View.Model property for a View.
ModelLoaded This event is intended for internal use.
ModelSaved Occurs after the information on a View has been saved to the Application Model.
ModelSaving Occurs before saving information on a View's controls to the Application Model.
QueryCanChangeCurrentObject Occurs when the View is asked whether its current object can be changed.
QueryCanClose Occurs when checking whether a View can be closed.
SelectionChanged Occurs after changing a View's selected objects.
SelectionTypeChanged Occurs when the current View's selection type is changed.
See Also