IViewEvents Interface

View events interface.

Definition

Namespace: Aliquo.Windows
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public interface IViewEvents : INotifyPropertyChanged
Implements
INotifyPropertyChanged

Remarks

The interface must be implemented in the event class corresponding to the view (IViewEvents implemented in ViewEvents of Aliquo.Windows).

In the ViewModels of the view, the propagations corresponding to the events must be carried out using the Raise method.

Example of propagation in TableViewModel.vb of Aliquo.Windows.Views.Tables:

...

Me.Window.View.Raise(NameOf(IViewEvents.SelectionChanged), EventArgs.Empty)

...

All view event interfaces must inherit from the IViewEvents interface.

Events

Closed Event that occurs when the view is closed.
Closing Event that occurs before closing the view, allowing you to cancel closing the view.
DataDeleted Event that occurs after deleting.
DataDeleting Event that occurs before deleting, allowing the deletion to be canceled.
DataUpdated Event that occurs after saving.
DataUpdating Event that occurs before saving, allowing you to cancel.
Loaded Event that occurs when the view has loaded.
SelectionChanged Event that occurs when the selection has been changed.

See Also