MvvmCross: Bindings for Android

前端 未结 1 634
星月不相逢
星月不相逢 2020-12-21 18:13

I\'m developing an application for android and WF8 using mvvmcross.

In WF8 UI I use this code:

 IsReadOnly=\"{Binding Path=DataContext.IsReadOnly, El         


        
相关标签:
1条回答
  • 2020-12-21 18:28

    Currently. No.

    There is no binding access to anything except your own DataContext.

    There was an idea for access to $parent for v3, but it didn't make the alpha cutoff deadline.

    For now, the best way is to provide all the properties you need via the target binding object - eg to use Linq to provide access to a List<ObjectWithParent<T>> instead of List<T>

    If you think this functionality is important, please log it as a feature request issue on github/slodge/mvvmcross, providing as much detail about your use case as possible.

    0 讨论(0)
提交回复
热议问题