Reply to thread

First changes are commited here: https://github.com/MediaPortal/MediaPortal-2/commit/5c1f41da3ebc053347da1f1b3f194037f6e48232


The auto complete is working with our own MPF object (y):

[ATTACH=full]157929[/ATTACH]


Then we can also use "goto to definition" (F12) on any element to jump into code:

[ATTACH=full]157930[/ATTACH]


Leads us to our source code file:

 [ATTACH=full]157931[/ATTACH]


Open issues:

  1. MarkupExtensions are not fully working, as they don't derive from System.Windows.MarkupExtension. You get a blue underline warning that it is used like a extension, but is not derived from it. This cannot be fixed easily
  2. ResourceWrapper is using "object" as generic type. This is useful, but now XAML is checking types strictly: like "object" defined versus "Brush" expected. Not fixable for now
  3. MPF-Converters are not known to XAML, it expects WPF-converters that use a different interface. Not fixable for now.

Any way, I'm really happy about the current improvements, it makes working with MPF-XAML much easier!


Top Bottom