Search found 3008 matches
- 10 Apr 2024, 10:56
- Forum: General Discussion
- Replies: 5
- Views: 261
Re: localization change from data trigger
Hi Sam, if you need support for using LocExtension as a Setter value, could you please open a ticket about it. We will try to find a way to make it work in those scenarios too.
- 10 Apr 2024, 10:43
- Forum: General Discussion
- Replies: 6
- Views: 267
Re: Connect to Child Event
We've updated the events tutorial so documentation will be fixed in the next release, thanks for your feedback.
- 04 Apr 2024, 17:16
- Forum: General Discussion
- Replies: 6
- Views: 267
Re: Connect to Child Event
Hello, I want to mention that we already define a macro in C++ for attached events to be used in ConnectEvent: bool ConnectEvent(BaseComponent* source, const char* event, const char* handler) override { NS_CONNECT_ATTACHED_EVENT(TreeViewItem, Expanded, OnTreeViewExpanded); return false; } And for C#...
- 02 Apr 2024, 11:58
- Forum: General Discussion
- Replies: 5
- Views: 261
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...
- 28 Mar 2024, 12:44
- Forum: General Discussion
- Replies: 1
- Views: 233
Re: Problem with ListBox scrolling
Could you try to set the background of the ListBox to Transparent?
I think the problem is that our ListBox default style does not set it, we will fix it.
Code: Select all
<ListBox Background="Transparent">
- 27 Mar 2024, 20:51
- Forum: General Discussion
- Replies: 3
- Views: 383
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...
- 27 Mar 2024, 12:00
- Forum: General Discussion
- Replies: 4
- Views: 255
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> ...
- 27 Mar 2024, 11:55
- Forum: General Discussion
- Replies: 4
- Views: 422
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...
- 27 Mar 2024, 11:41
- Forum: General Discussion
- Replies: 2
- Views: 253
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...
- 27 Mar 2024, 11:31
- Forum: General Discussion
- Replies: 1
- Views: 180
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 ...