Search found 2984 matches

by sfernandez
19 Feb 2024, 11:54
Forum: General Discussion
Replies: 6
Views: 168

Re: ImageSource fallback only works when property is not registered.

String properties are a bit different in Noesis compared to WPF because in C# strings are reference values that can be null, but not in C++. So if the binding path is correct and the property returns an empty string then the binding will just use that value (no FallbackValue or TargetNullValue). If ...
by sfernandez
15 Feb 2024, 19:21
Forum: General Discussion
Replies: 6
Views: 168

Re: ImageSource fallback only works when property is not registered.

The FallbackValue is used when the binding cannot be resolved (the property in the binding path can't be found for example). If the binding was correctly evaluated but the return value was just null, then you should use the TargetNullValue property of the binding. In the following xaml the second re...
by sfernandez
08 Feb 2024, 16:55
Forum: General Discussion
Replies: 10
Views: 1730

Re: Getting started with Unreal - lots of confusion

The RichText exposed in Noesis is based on the use of Styles as explained in the tutorial you linked. So each of the tags you specify in the text, like <char>, is mapped to a Style defined in your xaml resources. In the upcoming 3.2.3 version we improved the RichText extension to support not only st...
by sfernandez
08 Feb 2024, 14:28
Forum: General Discussion
Replies: 2
Views: 101

Re: b:DataTrigger not working with enums

It is possible that you are not registering the converter for the enum: RegisterComponent<EnumConverter<SignInTransitionStates>>(); You need to do that in order for the XAML parser to understand the string used in Value="SignInIntro". We are doing this in our Menu3D demo: https://github.co...
by sfernandez
08 Feb 2024, 14:10
Forum: General Discussion
Replies: 2
Views: 98

Re: Should I use b:behaviours or i:interactivity?

You should use the new b: namespace because it is what our Noesis.GUI.Extensions nuget is exposing to Blend, although internally for Noesis it makes no difference if use one or the other.
by sfernandez
08 Feb 2024, 13:54
Forum: General Discussion
Replies: 3
Views: 1238

Re: Is there an easy way to draw custom control on top of the ui layer?

Popups are always added to a layer that stays on top of the rest of the UI, so using ZIndex here won't help.

The solution could be to have a different View only for the keyboard, that way you are in control on the order of how things are rendered.
Could that work for you?
by sfernandez
31 Jan 2024, 21:15
Forum: General Discussion
Replies: 10
Views: 1730

Re: Getting started with Unreal - lots of confusion

I tried binding IsEnabled on a button to a bool in my View BP, just like the text/value properties, but that does not work Hi, you should be able to bind to a boolean property. I just tried a simple example like this: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
by sfernandez
23 Jan 2024, 13:52
Forum: General Discussion
Replies: 3
Views: 2655

Re: InvokeCommandAction not invoking command

Also, it's not related to the issue but, I could take this opportunity to mention a few things I noticed in the docs as I was browsing: In both of these links below, in their respective xaml demo, the <b:Interaction.Triggers> tag is not closed. Also in the GamepadTrigger Class description for the &...
by sfernandez
23 Jan 2024, 13:45
Forum: General Discussion
Replies: 15
Views: 13273

Re: Unit health bars with NoesisGUI

I verified that WPF does not raise any error or warning when removing a handler from an event that was not previously registered, so this is wrong in Noesis. Could you please report it in our bugtracker, we shouldn't show any error message in that case either. In the meantime one simple workaround w...
by sfernandez
23 Jan 2024, 13:24
Forum: General Discussion
Replies: 2
Views: 2597

Re: InvalidOperationException: Native type 'TypeConverter' is not registered

This is a bug in Noesis handling Type properties, could you please report it in our bugtracker?
I will provide a patch for you to try there.