CurrentChangingEventArgs CurrentChangingEventArgs CurrentChangingEventArgs CurrentChangingEventArgs Class

Definition

Provides information for the CurrentChanging event.

public ref class CurrentChangingEventArgs : EventArgs
public class CurrentChangingEventArgs : EventArgs
type CurrentChangingEventArgs = class
    inherit EventArgs
Public Class CurrentChangingEventArgs
Inherits EventArgs
Inheritance
CurrentChangingEventArgsCurrentChangingEventArgsCurrentChangingEventArgsCurrentChangingEventArgs

Remarks

A collection that supports ICollectionView raises this event when the CurrentItem is changing or when the content of the collection has been reset.

By default, the event is cancelable when the cause is a move-current operation (such as the MoveCurrentTo and similar methods) and uncancelable when the cause is an irreversible change operation on the collection.

Constructors

CurrentChangingEventArgs() CurrentChangingEventArgs() CurrentChangingEventArgs() CurrentChangingEventArgs()

Initializes a new instance of the CurrentChangingEventArgs class.

CurrentChangingEventArgs(Boolean) CurrentChangingEventArgs(Boolean) CurrentChangingEventArgs(Boolean) CurrentChangingEventArgs(Boolean)

Initializes a new instance of the CurrentChangingEventArgs class with the specified isCancelable value.

Properties

Cancel Cancel Cancel Cancel

Gets or sets a value that indicates whether to cancel the event.

IsCancelable IsCancelable IsCancelable IsCancelable

Gets a value that indicates whether the event is cancelable.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also