Table of Contents

Class CurrentChangingEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Arguments for the CurrentChanging event. A collection that supports ICollectionView raises this event whenever the CurrentItem is changing, or when the contents of the collection has been reset. By default, the event is cancelable when CurrentChange is caused by a move current operation and uncancelable when caused by an irreversable collection change operation.

public class CurrentChangingEventArgs : EventArgs
Inheritance
CurrentChangingEventArgs

Constructors

CurrentChangingEventArgs()

Construct a cancelable CurrentChangingEventArgs that is used to notify listeners when CurrentItem is about to change.

CurrentChangingEventArgs(bool)

Construct a CurrentChangingEventArgs that is used to notify listeners when CurrentItem is about to change.

Properties

Cancel

When set to true, this event will be canceled.

IsCancelable

If this event can be canceled. When this is False, setting Cancel to True will cause an InvalidOperationException to be thrown.