Share via


DomainDataSourceView.CurrentChanging Event

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Occurs before the CurrentItem is changed.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public Event CurrentChanging As CurrentChangingEventHandler
'Usage
Dim instance As DomainDataSourceView
Dim handler As CurrentChangingEventHandler

AddHandler instance.CurrentChanging, handler
public event CurrentChangingEventHandler CurrentChanging
public:
virtual  event CurrentChangingEventHandler^ CurrentChanging {
    void add (CurrentChangingEventHandler^ value);
    void remove (CurrentChangingEventHandler^ value);
}
abstract CurrentChanging : IEvent<CurrentChangingEventHandler,
    CurrentChangingEventArgs>
override CurrentChanging : IEvent<CurrentChangingEventHandler,
    CurrentChangingEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Implements

ICollectionView.CurrentChanging

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace

CurrentChanging