Is it possible to create a custom binding type in Noesis?
I want to create a binding with custom functionality. Is this possible to do in Noesis and use it in markup the same way you'd use a regular Binding?
Re: Is it possible to create a custom binding type in Noesis?
You can add your own markup extensions by extending the MarkupExtension class and overriding the ProvideValue method.
See the official WPF documentation for custom markup extensions: https://learn.microsoft.com/en-us/dotne ... on-classes
If you want to replicate the Binding MarkupExtension's behaviour, or part of it, you'll need to replicate it's functionality in your code. The binding extension itself is not extensible.
If you let me know the functionality you desire I'll give you more information on how it might be achieved.
See the official WPF documentation for custom markup extensions: https://learn.microsoft.com/en-us/dotne ... on-classes
If you want to replicate the Binding MarkupExtension's behaviour, or part of it, you'll need to replicate it's functionality in your code. The binding extension itself is not extensible.
If you let me know the functionality you desire I'll give you more information on how it might be achieved.
Who is online
Users browsing this forum: Bing [Bot] and 3 guests