Search found 2793 matches
- 02 Jun 2023, 12:44
- Forum: General Discussion
- Replies: 3
- Views: 27
Re: Binding not working when using custom controls?
Glad to be helpful :)
- 01 Jun 2023, 12:54
- Forum: General Discussion
- Replies: 3
- Views: 27
Re: Binding not working when using custom controls?
Hi, Are the -/+ buttons setting the TextBlock.Text property or IntTextBox.Value property? Because as the bindings initially set there are not TwoWay, setting those properties will clear the binding and locally set the new value. If you are only modifying the view model Value property, then it is fin...
- 01 Jun 2023, 12:39
- Forum: General Discussion
- Replies: 1
- Views: 31
Re: BackgroundEffectBehavior Performance Leak?
Hi, I investigated the issue and it turns out that even if the element is collapsed the behavior still invalidates its adorner and does unnecessary calculations.
I created ticket #2615 and attached a patch there for you to test.
I created ticket #2615 and attached a patch there for you to test.
- 31 May 2023, 18:23
- Forum: General Discussion
- Replies: 1
- Views: 15
Re: WPF cannot get the length from a String, because it's actually Boxed<String>
Hi Marcus, We have to improve the binding error message, because a Boxed<String> is handled in fact as a simple String by the binding system, so we should just show 'String' in that message. Anyway, the problem that is described in that binding error is not related to that. What happens is that Noes...
- 31 May 2023, 18:12
- Forum: General Discussion
- Replies: 3
- Views: 1672
Re: Binding Variables in Style Resources
Glad to hear is working.
When the style is applied to the Border it copies the interactivity triggers, so DataTrigger bindings are resolved on that border.
When the style is applied to the Border it copies the interactivity triggers, so DataTrigger bindings are resolved on that border.
- 31 May 2023, 18:08
- Forum: General Discussion
- Replies: 2
- Views: 29
Re: Triggering event from xaml -> c++?
If I try to set a binding in the Button Click event I get this error in Noesis: "Unknown property 'Button.Click', or object to assign is incompatible" . Button Click event can only be set to a function from the code-behind class, not bindings. Anyway, if you are trying to execute some code...
- 31 May 2023, 17:58
- Forum: General Discussion
- Replies: 3
- Views: 39
Re: Binding to Inlines of TextBlock
You can have an attached property that can be bound to an observable collection of lines. And then the attached property will fill the InlineCollection as you said, adding a Span for each line. And even listen to changes in the observable collection to update the inlines without needing to reparse a...
- 29 May 2023, 13:54
- Forum: General Discussion
- Replies: 3
- Views: 39
Re: Binding to Inlines of TextBlock
The Inlines property is read-only . When assigning a binding it just tries to add it to the collection, and Noesis outputs an error saying "Cannot add a 'BindingExpression' to a 'InlineCollection'". Maybe you are trying to achieve something similar to our RichText extension, which automati...
- 29 May 2023, 13:37
- Forum: General Discussion
- Replies: 1
- Views: 62
Re: Unity Editor Crash in v3.2.1
I've created ticket #2612 to track this issue, let's continue there.
- 29 May 2023, 13:20
- Forum: General Discussion
- Replies: 3
- Views: 70
Re: Namescopes in nested UserControls
Thanks for the report!