Search found 2991 matches

by sfernandez
08 Feb 2024, 14:28
Forum: General Discussion
Replies: 2
Views: 116

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: 109

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: 1246

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: 1785

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: 2670

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: 13305

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: 2611

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.
by sfernandez
17 Jan 2024, 10:42
Forum: General Discussion
Replies: 3
Views: 1385

Re: Attached Properties in templates/styles and used in binding?

So it is the control that uses the data who knows (through the attached property) if it has to reference the entity directly or the target. Then, if the attached property is set in the control, and assuming the control is the root of the xaml you could have: <UserControl x:Class="TheNamespace.M...
by sfernandez
17 Jan 2024, 10:32
Forum: General Discussion
Replies: 4
Views: 3081

Re: Proper MVVM approach for my UI

how can I use this information for resizing them? Each control has a number of properties to know when they are focused: - IsFocused indicates it has the logical focus - IsKeyboardFocused indicates it has the keyboard focus (only one element in the whole UI can have keyboard focus) - IsKeyboardFocu...
by sfernandez
15 Jan 2024, 12:08
Forum: General Discussion
Replies: 4
Views: 3081

Re: Proper MVVM approach for my UI

Hi, From a layout point of view this is just a Grid with 2 columns and 3 rows arranged like this: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="3*"/> <ColumnDefinition Width="2*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto"/>...