Search found 2 matches

by ckfinite
05 Apr 2022, 21:17
Forum: General Discussion
Replies: 3
Views: 1459

Re: Custom RoutedEventArgs in the managed API

I guess your custom args class defines some property/field members and that is why you want to recover the original managed object, right? Yes, that's right - thank you for the help. The feature request is here . In the meantime, if your args class doesn't have any members then you can define it li...
by ckfinite
05 Apr 2022, 06:31
Forum: General Discussion
Replies: 3
Views: 1459

Custom RoutedEventArgs in the managed API

I'm trying to create a new custom routedevent with my own RoutedEventArgs. Following the WPF idiom, I create a subclass of RoutedEventArgs such as (with application specific fields removed): class ResizeEventArgs : RoutedEventArgs { public ResizeEventArgs(RoutedEvent @event, object sender) : base(@e...