GenericDataPointBinding via XAML

2 posts, 0 answers
  1. Steven
    Steven avatar
    22 posts
    Member since:
    May 2011

    Posted 03 Sep 2012 Link to this post

    Alternative title: how to rig up a dynamic data template for ChartView?

    I'd like to create a dynamic data template for a ChartView .  However, bindings seem determined to find a property on a custom object which only has an indexor defined.  

    Currently I'm Getting an ambiguous match found exception in System.Reflection.GetPropertyImpl.

    I was getting around this with GenericDataPointBinding  + defining lamdas for getters, however since dynamic DataTemplates must be loaded in with the XamlReader.Load method (is this still the case in SL5), I'm having trouble thinking about what to do to get DataTemplates wired up correctly.

    I'm thinking the best move will be to stop using data templates.  

    Please advise.
  2. Steven
    Steven avatar
    22 posts
    Member since:
    May 2011

    Posted 03 Sep 2012 Link to this post

    I should mention that I'm testing work-arounds with RadGridView

    The only success is so far is to have n properties like value01, value02, ..., value 60.  From there I need to add another type of mapping (not done yet).  It would be nice if this feature could just work though so that this wouldn't be necessary..
  3. DevCraft banner
Back to Top