Skip to content

Commit

Permalink
Edit.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbritch committed Nov 14, 2024
1 parent 185df62 commit 4cfae03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/fundamentals/data-binding/compiled-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ Then, ensure that all your bindings are annotated with the correct `x:DataType`

```xaml
<HorizontalStackLayout BindingContext="{x:Reference slider}" x:DataType="Slider">
<Label Text="{Binding Value}" />
<Label Text="{Binding Text, Source={x:Reference entry}, x:DataType=Entry}" />
<Label Text="{Binding Value}" />
<Label Text="{Binding Text, Source={x:Reference entry}, x:DataType=Entry}" />
</HorizontalStackLayout>
```

Expand Down

0 comments on commit 4cfae03

Please sign in to comment.