Custom Behaviors Support?
Does NoesisGUI support WPF's custom behavior?
Reference: https://msdn.microsoft.com/en-us/librar ... n.40).aspx
Reference: https://msdn.microsoft.com/en-us/librar ... n.40).aspx
-
sfernandez
Site Admin
- Posts: 3184
- Joined:
Re: Custom Behaviors Support?
Hi,
Behaviors is a framework from the Expression Blend SDK and we don't provide support for that yet. We will introduce them in a future release.
But I think you can obtain a similar approach by using Attached Properties. An attached property is the same as a DependencyProperty, which uses the PropertyChangedCallback to inject a behavior when setting the property in a DependencyObject.
Here is an example of attached properties posted by another user to manage mouse cursors: viewtopic.php?f=3&t=256&p=3551&hilit=attached#p3551
Behaviors is a framework from the Expression Blend SDK and we don't provide support for that yet. We will introduce them in a future release.
But I think you can obtain a similar approach by using Attached Properties. An attached property is the same as a DependencyProperty, which uses the PropertyChangedCallback to inject a behavior when setting the property in a DependencyObject.
Here is an example of attached properties posted by another user to manage mouse cursors: viewtopic.php?f=3&t=256&p=3551&hilit=attached#p3551
Re: Custom Behaviors Support?
I have added this to our Trello board. Soon or later we should be compatible with the XAML Behaviors provided by Microsoft on GitHub.
https://github.com/Microsoft/XamlBehaviors/
https://github.com/Microsoft/XamlBehaviors/
Re: Custom Behaviors Support?
Found this issue when searching if NoesisGUI supports something similar to Attached Behavior or Blend Behavior.
Just want to confirm if this issue is still open as of v2.0.1f1.
Just want to confirm if this issue is still open as of v2.0.1f1.
Re: Custom Behaviors Support?
Behaviors are not yet implemented but we have plans to incorporate this "soon".
Who is online
Users browsing this forum: No registered users and 1 guest