Search found 8 matches
- 25 Feb 2022, 13:51
- Forum: General Discussion
- Replies: 1
- Views: 377
Numpad Enter
Hey! We are using a UserControl with a Textbox and we have the logic for pressing Enter in the code behind. It looks like this: PreviewKeyDown() += [this](BaseComponent*, const Noesis::KeyEventArgs& e) { if (e.key == Noesis::Key::Key_Enter) { // logic } Numpad enter doesn't trigger PreviewKeyDow...
- 26 Oct 2021, 21:37
- Forum: General Discussion
- Replies: 5
- Views: 3538
Re: Custom cursor
Cool! This is exactly what I need.
Do you have an ETA?
Do you have an ETA?
- 26 Oct 2021, 18:31
- Forum: General Discussion
- Replies: 5
- Views: 3538
Re: Custom cursor
Hey! Do you have any plans to add support for custom cursors to noesis?
- 31 Aug 2021, 15:16
- Forum: General Discussion
- Replies: 1
- Views: 3724
Bind textbox to float value. Unable to input dot
Hello! I am facing an issue where the user cannot enter "." in a textbox bound to a floating point value while the UpdateSourceTrigger has a PropertyChanged value. Of the possible solutions that I have found, there is a use of StringFormat=N2 , but I can't because of design considerations....
- 12 Aug 2021, 17:10
- Forum: General Discussion
- Replies: 2
- Views: 6300
Re: Binding Noesis::Color with VM
Sorry, guys.
Once I made a post, I found a problem that is beyond the scope of the question. :D
Once I made a post, I found a problem that is beyond the scope of the question. :D
- 12 Aug 2021, 16:53
- Forum: General Discussion
- Replies: 2
- Views: 6300
Binding Noesis::Color with VM
Hello! I have a ColorPicker UserControl with Noesis::Color DependencyProperty. NS_IMPLEMENT_REFLECTION(ColorPicker, "d.ColorPicker") { Noesis::DependencyData* data = NsMeta<Noesis::DependencyData>(Noesis::TypeOf<SelfClass>()); data->RegisterProperty<Noesis::Color>(CurrentColorProperty, &qu...
- 04 Aug 2021, 18:33
- Forum: General Discussion
- Replies: 3
- Views: 15119
Re: Memory leak when binding commands
Hey, thanks for the quick response! The issue was in the logic of closing the panel. <UserControl x:Name="FloatingWindow" x:Class="D.FloatingWindow"> <UserControl.ContentTemplate> <DataTemplate> <Button> <i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <ei:Ch...
- 04 Aug 2021, 00:47
- Forum: General Discussion
- Replies: 3
- Views: 15119
Memory leak when binding commands
Hi guys! I ran into a problem and got stuck. I'm new to wpf and mvvm, maybe I'm missing something. Binding to a command which is up the hierarchy causes memory leaks. Yeah, I saw this topic . But in the context of commands, I don't know how to get around it. I have a App UserControl, which consists ...