Xceed DataGrid for WPF v7.2 Documentation
CancelRoutedEventArgs Constructor(RoutedEvent,Object)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > CancelRoutedEventArgs Class > CancelRoutedEventArgs Constructor : CancelRoutedEventArgs Constructor(RoutedEvent,Object)
The identifier for the routed event.
An alternate source that will be reported when the event is handled. This pre-populates the Source property.
Initializes a new instance of the CancelRoutedEventArgs class, using the supplied routed event identifier and providing the opportunity to declare a different source for the event.
Syntax
'Declaration
 
Public Function New( _
   ByVal routedEvent As RoutedEvent, _
   ByVal source As Object _
)
'Usage
 
Dim routedEvent As RoutedEvent
Dim source As Object
 
Dim instance As New CancelRoutedEventArgs(routedEvent, source)
public CancelRoutedEventArgs( 
   RoutedEvent routedEvent,
   object source
)

Parameters

routedEvent
The identifier for the routed event.
source
An alternate source that will be reported when the event is handled. This pre-populates the Source property.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CancelRoutedEventArgs Class
CancelRoutedEventArgs Members
Overload List