Search found 7 matches

by blafollette
04 Dec 2020, 16:19
Forum: General Discussion
Replies: 3
Views: 3124

Re: Unity crash being caused by a ListView ScollViewer style's GridViewHeaderRowPresenter element

I've submitted a ticket. Strangely, I haven't been able to find any sort of .dmp file at all associated with the crash. I attached all the diagnostic information I could gather from the Windows Event Viewer and from attaching VS to the process with the crash occurs.
by blafollette
04 Dec 2020, 13:06
Forum: General Discussion
Replies: 3
Views: 3124

Unity crash being caused by a ListView ScollViewer style's GridViewHeaderRowPresenter element

In our Unity project, we have a ListView with a style targeting type ScrollViewer. In the ScrollViewer element inside a ControlTemplate part of the style, we have a GridViewHeaderRowPresenter. What we're seeing is that this setup works just fine in WPF, but in Unity (either editor or build) viewing ...
by blafollette
20 Aug 2020, 15:30
Forum: General Discussion
Replies: 7
Views: 3668

Re: Native type is not registered error when calling FindName("myName") as ResourceDictionary

Yup, this totally works just as you said! I don't know what I got wrong before, but I'm no longer even able to reproduce the original design view error I got. So, no idea where I went wrong before! :)

Thanks again!
by blafollette
20 Aug 2020, 11:04
Forum: General Discussion
Replies: 7
Views: 3668

Re: Native type is not registered error when calling FindName("myName") as ResourceDictionary

It's entirely possible the error was all my own doing! :) Thanks for the sample, I'll give it a test as soon as I have the opportunity!

Thanks very much, again, for all your help!
by blafollette
17 Aug 2020, 13:21
Forum: General Discussion
Replies: 7
Views: 3668

Re: Native type is not registered error when calling FindName("myName") as ResourceDictionary

For any curious, the workaround that has everything working was to implement my Resources node in my Flags Wrapper xaml as follows: <UserControl.Resources> <ResourceDictionary x:Name="FlagsResource"> <ResourceDictionary.MergedDictionaries > <ResourceDictionary Source="Styles/FlagsColl...
by blafollette
15 Aug 2020, 14:39
Forum: General Discussion
Replies: 7
Views: 3668

Re: Native type is not registered error when calling FindName("myName") as ResourceDictionary

Thanks so much! I will certainly go ahead and make a report. As for the solution you suggest, I actually did exactly this as my initial approach! However, it broke the VS designer view, and part of my whole reason for taking this approach was to allow for design-time display of these SVGs. :) Appare...
by blafollette
14 Aug 2020, 15:19
Forum: General Discussion
Replies: 7
Views: 3668

Native type is not registered error when calling FindName("myName") as ResourceDictionary

I've got a big collection of flags that are stored in a <ResourceDictionary x:Name="myName"> in xaml. I wrote an IValueConverter that takes an input string from an item property in a collection and returns the svg resource. The code behind for the xaml exposes a ResouceDictionary property ...