-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VectorEventArgs becomes internal in latest avalonia 11 #9668
Comments
Discussed most recently here:
It's a bigger problem for control authors. @kekekeks @danwalmsley @grokys @maxkatz6 |
Looks like we will revert this change as the impact was underestimated. If you have a free minute feel free to send us a PR making VectorEventArgs public again. Have a nice Sunday |
Note that the missing constructors of various
|
It's public in latest master again. |
Before I could use new VectorEventArgs instance to create customer control event, like below. But now I cannot because it says VectorEventArgs is internal constructor. Is there an alternative solution? Thanks!
var arg = new VectorEventArgs
{
Handled = e.Handled,
Route = e.Route,
RoutedEvent = MovedFinishedEvent,
Source = e.Source,
Vector = e.Vector
};
The text was updated successfully, but these errors were encountered: