Search found 3005 matches

by sfernandez
02 Apr 2024, 11:58
Forum: General Discussion
Replies: 5
Views: 196

Re: localization change from data trigger

Hello, Let me see if I understood correctly the problem you have. You want to show a different dialog message depending on some enums in the viewmodel, and then have the message localized, right? Couldn't you just have the different texts in the DataTemplate and show the appropriate one? <DataTempla...
by sfernandez
28 Mar 2024, 12:44
Forum: General Discussion
Replies: 1
Views: 181

Re: Problem with ListBox scrolling

Could you try to set the background of the ListBox to Transparent?
<ListBox Background="Transparent">
I think the problem is that our ListBox default style does not set it, we will fix it.
by sfernandez
27 Mar 2024, 20:51
Forum: General Discussion
Replies: 3
Views: 293

Re: ListBox vs StackPanel of Buttons

Thanks for the suggestion @nadjibus, I also think it is the right approach here. You will use an ItemsControl bound to a list of options/settings items exposing all the required information: Name/Label Type of value (you can use an enum here to select what to show on the ItemTemplate, or it can be i...
by sfernandez
27 Mar 2024, 12:00
Forum: General Discussion
Replies: 4
Views: 228

Re: EventManager.RegisterClassHandler Unity crash

Hi, Do you really need to use EventManager.RegisterClassHandler, which is mostly intended to create custom controls? Or will be enough to just hook to the Click event of your button in code behind: <Grid x:Name="root"> ... <Button x:Name="btn" Content="LOGIN"/> </Grid> ...
by sfernandez
27 Mar 2024, 11:55
Forum: General Discussion
Replies: 4
Views: 357

Re: Noesis Studio and context switch

When using Noesis Studio you won't need to rely on WPF code anymore, just pure Noesis C# (or C++) code for your ViewModels, converters, interactivity and custom controls. And if you are in Unity, all the classes defined in your Unity project will be available in Noesis Studio, so no need to create d...
by sfernandez
27 Mar 2024, 11:41
Forum: General Discussion
Replies: 2
Views: 225

Re: Suggested design/architecture for UI audio?

Hi, 1) As you found, you just have to use the behaviors namespace: xmlns:b="http://schemas.microsoft.com/xaml/behaviors" 2) Thanks @nadjibus for the suggestion. As he mentioned you should use the StyleInteraction.Triggers along with the StyleTriggerCollection to specify the common Triggers...
by sfernandez
27 Mar 2024, 11:31
Forum: General Discussion
Replies: 1
Views: 167

Re: Hierarchical Treeview

Hi, IGrouping is not supported by Noesis, to use a HierarchicalDataTemplate the list should contain the groups, and each group should contain a list of items that you can bind in the template ItemsSource: public class ViewModel { public List<Group> GroupedList { get; } } public class Group { public ...
by sfernandez
27 Mar 2024, 11:22
Forum: General Discussion
Replies: 12
Views: 1971

Re: Getting started with Unreal - lots of confusion

Hi, If you have a way to convert the char id number into some text, then you can specify a converter in the style like this: <Style x:Key="char" TargetType="ContentControl"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ContentControl&quo...
by sfernandez
27 Mar 2024, 11:04
Forum: General Discussion
Replies: 3
Views: 225

Re: Low performance when using BackgroundEffectBehavior.BlurEffect on many elements

Thanks for the ticket, we've found the source of the problem and fixed it for the next release.
by sfernandez
26 Mar 2024, 18:04
Forum: General Discussion
Replies: 8
Views: 3657

Re: Any reason NuGet package for Noesis.GUI.Extensions targets .NET Framework instead of .NET standard?

You are right, that ticket is already resolved and Noesis.GUI.Extensions nuget supports .NET and .NETCore as well as .NET Framework projects since 3.0.9 version. Thanks for pointing this out.