Search found 26 matches
- 20 Jan 2023, 07:15
- Forum: General Discussion
- Replies: 4
- Views: 160
- 16 Jan 2023, 10:50
- Forum: General Discussion
- Replies: 4
- Views: 158
- 13 Jan 2023, 21:43
- Forum: General Discussion
- Replies: 4
- Views: 160
Re: HitTest doesn't work for IsHitTestVisible?
Had seen. Thanks. Is there a detailed example of using callbacks in the documentation in C#? For example, what are the HitTestFilterBehavior and HitTestResultBehavior enums responsible for?
- 13 Jan 2023, 18:04
- Forum: General Discussion
- Replies: 4
- Views: 160
HitTest doesn't work for IsHitTestVisible?
The UserControl contains a Grid, which in turn contains a TextBlock. Both UserControl and Grid don't have a Transparent background. TextBlock has the IsHitTestVisible=False property. But VisualTreeHelper.hitTest returns a TextBlock. Can I find out how to properly configure ignoring specific UI eleme...
- 12 Jan 2023, 06:39
- Forum: General Discussion
- Replies: 3
- Views: 107
Re: View.MouseMove() is slow
No. Surprisingly, elements do not subscribe to MoseMove, MoseEnter, etc. events. Marker is an xaml that is drawn on the main View. By design, there can be many such markers. I tested performance on 9k-10k markers. Is it possible that the MouseMove event goes through all these markers every frame, th...
- 11 Jan 2023, 17:18
- Forum: General Discussion
- Replies: 3
- Views: 107
View.MouseMove() is slow
Good afternoon. Experimenting with Noesis performance in Unity. Many objects in the scene have their own marker which is displayed on the screen (Not World NoesisView). The more objects, the more markers accordingly. Noesis draws 9000 markers at an average of 50-60 fps. However, if you move the mous...
- 27 Dec 2022, 12:37
- Forum: General Discussion
- Replies: 4
- Views: 158
Re: TypeArguments for generic UserControl
Thank you. The second approach seems interesting. About the first approach there are errors in WPF. When you specify a class higher in the inheritance hierarchy in XAML, the generated code .g.i.cs is inherited immediately so: https://iili.io/HTBO4bn.md.png Code-behind: https://iili.io/HTBegrQ.md.png
- 22 Dec 2022, 17:13
- Forum: General Discussion
- Replies: 4
- Views: 158
TypeArguments for generic UserControl
Good afternoon. WPF supports the x:TypeArguments property, which allows you to create a generalized usercontrol. Noesis does not have this feature. Is there an alternative approach? Is it possible to add it in future versions of Noesis?
Example
Example
- 14 Nov 2022, 16:53
- Forum: General Discussion
- Replies: 5
- Views: 203
Re: Inner Shadow
It's not about the vector effect. For the "Path" element, I used "DropShadowEffect" to create an external shadow, which works fine. But it is difficult to make an internal shadow in pure WPF. I was wondering if you had an alternative, given that modern UI toolsets for the web sup...
- 11 Nov 2022, 07:38
- Forum: General Discussion
- Replies: 5
- Views: 203