The current Binding system doesn't allow to use an attached bindable property as binding source, like in
<Grid>
<Label x:Name="label0" Grid.Row="1"/>
<Label Text="{Binding (Grid.Row), Source={x:Reference label0}}" />
</Grid>
Of course, it can be combined as part of a complex path
<Label Text="{Binding label0.(Grid.Row)}" />
If the attached BP owner type is not in the default xmlns, the type has to be prefixed
<Label Text="{Binding label0.(local:MyLayout.Altitude)}" />
For this reason, this syntax is restricted to xaml only.
Challenges:
_part-element-list_:
_empty_:
_part-separator_:
.
_first-part_:
_part-list_:
_part_:
_part-id_:
(
_type_.
_bp_)
_type_:
:
identifier_indexer_:
[
index]
This issue is listed for the x:Bind project:
https://github.com/xamarin/Xamarin.Forms/projects/7
What is the current status of the x:bind implementation?
When is this planned for fixing?
Bump
Any news on that?
I am also looking for this feature to work as well.
Same here
Nooo! I _just_ needed to use this in my templated view!
Could be 5.0.0
candidate?
Most helpful comment
When is this planned for fixing?