Search found 193 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 20
by KeldorKatarn
02 Jun 2021, 15:22
Forum: General Discussion
Replies: 2
Views: 904

Re: Grid grows when content grows, but does not shrink when content shrinks.

Why is there a scrollviewer inside your scrollviewer template?
by KeldorKatarn
02 Jun 2021, 09:52
Forum: General Discussion
Replies: 4
Views: 3976

Re: DataTemplate performance

I found a good solution :) I'm mixing Caliburn.Micro's approach with mine. I still generate DataTemplates for each ViewModel, but they no longer contain the entire view UserControl. Instead they have a ContentPresenter with an attachedProperty which connects to the ServiceProvider to resolve the vie...
by KeldorKatarn
02 Jun 2021, 04:52
Forum: General Discussion
Replies: 3
Views: 5723

Re: Duplicate call to GUI.LoadComponent?

Nevermind, there's actually no way for me to get the path to the file outside of it itself. Sigh. This code behind thing is really annoying :P
by KeldorKatarn
02 Jun 2021, 04:19
Forum: General Discussion
Replies: 3
Views: 5723

Duplicate call to GUI.LoadComponent?

This is just a question to make 100% sure of something which I already assume: Calling GUI.LoadComponent(this, "XYZ.FooBar.xaml"); twice on the same user control has absolutely no negative effect. Is that correct? Because if it is, I can automate this call in Caliburn.Noesis and get rid of...
by KeldorKatarn
30 May 2021, 20:51
Forum: General Discussion
Replies: 4
Views: 3976

DataTemplate performance

Since I'm using DataTemplates for matching ViewModels to Views currently in Caliburn.Noesis, I was wondering how performance heavy it is to re-create datatemplate instances when screens are changes rapidly. Is there some caching going on in Noesis that already deals with the performance impact or sh...
by KeldorKatarn
27 May 2021, 11:53
Forum: General Discussion
Replies: 4
Views: 3480

Re: Visual.PointFromScreen from actual screen

Something like this should work yes, thanks :)
by KeldorKatarn
26 May 2021, 23:16
Forum: General Discussion
Replies: 2
Views: 2716

Re: Intended C++ with XAML workflow?

No you're not missing anything. You might want to go talk to the Rider guys or whoever does Visual Studio extensions and get them to support Noesis then we could edit XAML projects that are not WPF in Visual studio. Unfortunately even if you're working with a unity project you can share the code, bu...
by KeldorKatarn
25 May 2021, 14:55
Forum: General Discussion
Replies: 16
Views: 15834

Re: Caliburn.Noesis (Caliburn.Micro port)

Ok I added a priority to them, which I think is the right order. The Attributes are kind of low down but on the other hand should be incredibly easy to add since they're just meta data marker attributes. The On<Event> methods and missing constructors and such are however incredibly important. Withou...
by KeldorKatarn
25 May 2021, 14:27
Forum: General Discussion
Replies: 5
Views: 3034

Re: Equivalent of Application.Current.Dispatcher in Unity?

Well I use it with "Invoke" to invoke certain things on the UI thread. And I just tried making a viewmodel that does endless Debug,Log() calls every 500ms using the Dispatcher to dispatch that to the UI thread. And it kinda works just fine. The viewmodels keeps logging via the dispatcher e...
by KeldorKatarn
25 May 2021, 13:55
Forum: General Discussion
Replies: 5
Views: 3034

Re: Equivalent of Application.Current.Dispatcher in Unity?

Come to think of it.... what happens if I store that Dispatcher and then the Camera with the NoesisView component on it is destroyed.
Can I somehow detect that my DIspatcher is now invalid?
  • 1
  • 2
  • 3
  • 4
  • 5
  • 20