name | Remarks |
---|---|
CancelRoutedEventArgs | |
FunctionEventArgs!1 | |
KeyboardHookEventArgs | |
MouseHookEventArgs |
You can use FunctionEventArgs!1
to create a custom event args
step 1: create a EventHandler
1 | public event EventHandler<FunctionEventArgs<myArgument>> myEventChanged; |
step2: Notify change where necessary
1 | myEventChanged?.Invoke(this, new FunctionEventArgs<myArgument>(OldValue = "Old", NewValue = "New")); |