clayzx
Topic Author
Posts: 7
Joined: 19 Jan 2015, 09:36

Custom Behaviors Support?

09 Dec 2015, 07:33

Does NoesisGUI support WPF's custom behavior?

Reference: https://msdn.microsoft.com/en-us/librar ... n.40).aspx
 
User avatar
sfernandez
Site Admin
Posts: 3184
Joined: 22 Dec 2011, 19:20

Re: Custom Behaviors Support?

10 Dec 2015, 11:22

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
 
User avatar
jsantos
Site Admin
Posts: 4186
Joined: 20 Jan 2012, 17:18
Contact:

Re: Custom Behaviors Support?

10 Dec 2015, 12:03

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/
 
clayzx
Topic Author
Posts: 7
Joined: 19 Jan 2015, 09:36

Re: Custom Behaviors Support?

20 Dec 2015, 16:38

Sounds good, thanks for your reply.
 
nikobarli
Posts: 183
Joined: 26 Apr 2017, 06:23

Re: Custom Behaviors Support?

16 May 2017, 03:31

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.
 
User avatar
jsantos
Site Admin
Posts: 4186
Joined: 20 Jan 2012, 17:18
Contact:

Re: Custom Behaviors Support?

17 May 2017, 03:59

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