Search found 2572 matches
- 10 Aug 2022, 19:05
- Forum: General Discussion
- Replies: 3
- Views: 46
Re: accentuation
The Display implementations provided in our application framework already support writing accents as you can check in our Login sample. If you are writing your own C++ integration please make sure you are properly injecting the KeyDown, Char and KeyUp events into the View. The Char event is the one ...
- 10 Aug 2022, 18:59
- Forum: General Discussion
- Replies: 1
- Views: 28
Re: C++ ItemControl
An ItemsControl can be populated with items in 2 ways: By adding items to its Items collection itemsControl->GetItems()->Add(Boxing::Box("First")); itemsControl->GetItems()->Add(Boxing::Box("Second")); itemsControl->GetItems()->Add(Boxing::Box("Third")); By setting a co...
- 10 Aug 2022, 18:53
- Forum: General Discussion
- Replies: 3
- Views: 52
Re: Trigger seems to be activating even though data model shouldnt be triggering it
When the HUD xaml is loaded for the first time the "Teams" view will be visible, as its Visibility property is not set and the default value is Visible. The easiest way to debug this is by adding a Rectangle in the HUD.xaml and change its Fill to another color in the DataTrigger that makes...
- 08 Aug 2022, 16:57
- Forum: General Discussion
- Replies: 3
- Views: 52
Re: Trigger seems to be activating even though data model shouldnt be triggering it
Hi Sam, I see in HUD.xaml that "Teams" view is initially visible. If the "GameStateName" doesn't go through the "Playing" state where the data trigger sets that view to collapsed then it will be visible even if the state is never set to "Teams". Could that be ...
- 04 Aug 2022, 20:57
- Forum: General Discussion
- Replies: 3
- Views: 80
Re: Binding from MainWindow.xaml vs ResourceDictionary > ControlTemplate
The Template property default value is null, so if you don't specify one for the control style then nothing will be rendered for that control. The previous xaml code is defining an implicit Style for all CustomList controls, so you don't have to manually set the Style property on each instance of yo...
- 03 Aug 2022, 20:25
- Forum: General Discussion
- Replies: 4
- Views: 68
Re: [noesis] Visual is null
I'm pretty sure it could be that, the bug was fixed for NoesisGUI 3.1.2 but I think you are already in 3.1.0, right?
I'll send you a patched version of the 3.1.0 to see if those errors go away.
I'll send you a patched version of the 3.1.0 to see if those errors go away.
- 03 Aug 2022, 19:26
- Forum: General Discussion
- Replies: 3
- Views: 51
Re: Freezable object cannot be made unmodifiable
This error (FontFamily setter) does not seem the same as the previous message (SolidColorBrush), but may be related, probably something in the same Style. But I don't understand how a sealed Style can be modified without coding, just using it in xaml. To get some context, is that Style part of the A...
- 03 Aug 2022, 12:16
- Forum: General Discussion
- Replies: 3
- Views: 51
Re: Noesis crashes Unity when using Unit Tests and forgetting Noesis.GUI.Init()
In Noesis Settings you can change "General Log Level" to "Information" to print the xaml files being loaded, that can narrow the error to a specific file. It would be great if you can provide a sample xaml to reproduce this issue so we can debug it. In theory our code only freeze...
- 03 Aug 2022, 11:54
- Forum: General Discussion
- Replies: 3
- Views: 80
Re: Binding from MainWindow.xaml vs ResourceDictionary > ControlTemplate
Hi, I think the binding path is not correct in the second case, because "{Binding listData, RelativeSource={RelativeSource TemplatedParent}}" means that Panels:CustomList control exposes a property named "listData", instead of referring to a property of the DataContext as you spe...
- 03 Aug 2022, 11:50
- Forum: General Discussion
- Replies: 8
- Views: 124
Re: Threading requirements for Noesis::GUI::Shutdown
Thanks for the report, it is perfect.