Skip to content

Commit

Permalink
fix binding
Browse files Browse the repository at this point in the history
  • Loading branch information
williambohrmann3 committed May 3, 2024
1 parent 42cfabd commit dcf397c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/legend.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Display a legend for a map or scene view.
<Grid xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
ColumnDefinitions="*,300">
<esri:MapView x:Name="MyMapView"/>
<esri:Legend GeoView="{x:Reference MyMapView}"
<esri:Legend GeoView="{x:Bind MyMapView}"
Grid.Column="1" />
</Grid>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/measure-toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Measure distances, areas, and features in a `MapView`.
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<toolkit:MeasureToolbar HorizontalAlignment="Center"
MapView="{Binding ElementName=MyMapView}" />
MapView="{x:Bind MyMapView}" />
<esri:MapView x:Name="MyMapView"
Grid.Row="1" />
</Grid>
Expand Down
2 changes: 1 addition & 1 deletion docs/overview-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ OverviewMap has the following bindable properties:
<Grid xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
<esri:MapView x:Name="MyMapView" />
<esri:OverviewMap Margin="4"
GeoView="{x:Reference MyMapView}" />
GeoView="{x:Bind MyMapView}" />
</Grid>
```

Expand Down

0 comments on commit dcf397c

Please sign in to comment.