Forums

Markup Extensions?
Last Post 18 Aug 2015 08:57 AM by Michael DeMond. 3 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
Michael DeMondUser is Offline
New Member
New Member
Posts:34


--
17 Aug 2015 09:39 PM
    This project holds a lot of promise! Very encouraging. It would be great to be able to use markup extensions, please.

    Additionally, it would be great to ultimately define the Game object in Xaml as well... too much code in there.
    Michael DeMondUser is Offline
    New Member
    New Member
    Posts:34


    --
    17 Aug 2015 09:40 PM
    Also, being able to use Triggers/TriggerActions and Behaviors would be supreme!
    Filip DušekUser is Offline
    Advanced Member
    Advanced Member
    Posts:669


    --
    17 Aug 2015 09:57 PM
    x:Type is supported for styles and templates and x:Static works too (with MVVM). Any other ME would you like?
    Triggers are working for templates and controls.
    TriggerAction base class is used for BeginStoryboard and EventTriggers tho methods are internal. Do you want to make your own TriggerAction? I can change them to public.

    Behaviors are not supported. I will add that to backlog.
    Michael DeMondUser is Offline
    New Member
    New Member
    Posts:34


    --
    18 Aug 2015 08:57 AM
    Awesome! Well, to be sure, I am asking for all of the components from System.Windows.Interactivity, not the Presentation* assemblies. They are much better (and powerful ).

    There is also {x:Null}, {x:Array} and {x:Reference} as well.

    However, the true power here is to be able to create your own markup extensions (extending from System.Windows.Markup.MarkupExtension) and pull in values from anywhere you wish.
    You are not authorized to post a reply.