Search found 30 matches

by MarkSim
27 May 2022, 09:59
Forum: General Discussion
Replies: 4
Views: 202

Re: Load and parse component xaml only once?

Yep that worked, thanks!
by MarkSim
26 May 2022, 08:56
Forum: General Discussion
Replies: 4
Views: 202

Load and parse component xaml only once?

I have a view where many component items (UserControls) are displayed using an ItemsControl. The DataTemplate references a UserControl I define in another xaml file. I'm finding that for every single item, it wants to reload the xaml over and over, which I assume also means parsing it over and over ...
by MarkSim
23 May 2022, 12:46
Forum: General Discussion
Replies: 2
Views: 136

Re: Converter to get TYPE and compare with x:Type

I meant to say that I did try boxing it first. I will try again though, I may have missed something the first time round.
by MarkSim
19 May 2022, 15:10
Forum: General Discussion
Replies: 2
Views: 136

Converter to get TYPE and compare with x:Type

Hi, I've successfully made this converter in WPF: ObjectToTypeConverter Which basically returns this: value.GetType() Which allows me to do this: <DataTrigger Binding="{Binding, Converter={StaticResource ObjectToType}}" Value="{x:Type vm:SomeViewModel}"> However I am having troub...
by MarkSim
24 Jan 2022, 11:21
Forum: General Discussion
Replies: 7
Views: 241

Re: ClipToBounds not working in Android

I see, well, as said before I would verify first that you are setting and clearing a stencil buffer. If that's correct could you capture a frame with Renderdoc? I've been looking through GLRenderDevice.cpp, which if I understand correctly is provided by Noesis? I put the question out as to whether ...
by MarkSim
11 Jan 2022, 13:40
Forum: General Discussion
Replies: 7
Views: 241

Re: ClipToBounds not working in Android

I've found GLRenderDevice - it looks like it is your implementation but whether anyone else has modded it I'm not sure. Its around 2734 lines, we are using Noesis version 3.0.11 ...

Sorry if its a bit vague, I didn't have much involvement on that side of things originally.
by MarkSim
11 Jan 2022, 12:53
Forum: General Discussion
Replies: 7
Views: 241

Re: ClipToBounds not working in Android

It is C++, so from your question it sounds like there must be a custom renderer in that case, so looks like the problem is our side..?
by MarkSim
06 Jan 2022, 16:33
Forum: General Discussion
Replies: 7
Views: 241

ClipToBounds not working in Android

Hi, We are building for multiple platforms (Windows, Mac, iOS, Android, etc). In one view we have a collection of PNGs tiles that we pan and zoom around. This is basically a ItemsControl, inside a Canvas, Inside a Grid, with ClipToBounds="True" set on the Grid so that the PNGs do not show ...
by MarkSim
22 Oct 2021, 15:14
Forum: General Discussion
Replies: 10
Views: 3545

Re: Problem with custom "SwitchConverter" and Static Resources

I managed to get this working in the end, until I tried using a DynamicResource for the "Then" property. Again, works fine in WPF, null in Noesis :-( I will check the source for Animatable to see if it differs from my SwitchCase implementation.. Let me know if there's anything else I shoul...
by MarkSim
28 Sep 2021, 19:02
Forum: General Discussion
Replies: 2
Views: 870

Re: NS_PROFILE and OnTextureChanged

Ah .. yep will do.