Επεξεργασία

Κοινή χρήση μέσω


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
CurrentChangingEventArgs

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()

Initializes a new instance of the CurrentChangingEventArgs class.

CurrentChangingEventArgs(Boolean)

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

Properties

Cancel

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

IsCancelable

Gets a value that indicates whether the event is cancelable.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also