Skip to content

Commit

Permalink
Remove whitespace introduced to concept docs (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
williambohrmann3 authored Apr 22, 2024
1 parent cb35cbd commit 74f5783
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions docs/basemap-gallery.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Ensure that your `GeoModel` is not null before selecting a basemap with the `Bas
### .NET MAUI:

```xml
<Grid xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
<Grid xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
ColumnDefinitions="*,300">
<esri:MapView x:Name="MyMapView" />
<esri:BasemapGallery Grid.Column="1"
Expand All @@ -54,14 +54,14 @@ Ensure that your `GeoModel` is not null before selecting a basemap with the `Bas
### UWP/WinUI:

```xml
<Grid xmlns:esri="using:Esri.ArcGISRuntime.UI.Controls"
<Grid xmlns:esri="using:Esri.ArcGISRuntime.UI.Controls"
xmlns:toolkit="using:Esri.ArcGISRuntime.Toolkit.UI.Controls">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="300" />
</Grid.ColumnDefinitions>
<esri:MapView x:Name="MyMapView" />
<toolkit:BasemapGallery Grid.Column="1"
<toolkit:BasemapGallery Grid.Column="1"
GeoModel="{Binding ElementName=MyMapView, Path=Map}" />
</Grid>
```
Expand All @@ -75,7 +75,7 @@ Ensure that your `GeoModel` is not null before selecting a basemap with the `Bas
<ColumnDefinition Width="300" />
</Grid.ColumnDefinitions>
<esri:MapView x:Name="MyMapView" />
<esri:BasemapGallery Grid.Column="1"
<esri:BasemapGallery Grid.Column="1"
GeoModel="{Binding ElementName=MyMapView, Path=Map}" />
</Grid>
```
16 changes: 8 additions & 8 deletions docs/bookmarks-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ For bookmarks to appear in the control, you must set either `GeoModel.Bookmarks`
### .NET MAUI:

```xml
<Grid xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
<Grid xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
ColumnDefinitions="*,300">
<esri:MapView x:Name="MyMapView" />
<esri:BookmarksView Grid.Column="1"
<esri:BookmarksView Grid.Column="1"
GeoView="{x:Reference MyMapView}" />
</Grid>
```

To customize the item template:

```xml
<esri:BookmarksView xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
Grid.Column="1"
<esri:BookmarksView xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
Grid.Column="1"
GeoView="{x:Reference MyMapView}">
<esri:BookmarksView.ItemTemplate>
<DataTemplate>
Expand All @@ -41,14 +41,14 @@ To customize the item template:
### UWP/WinUI:

```xml
<Grid xmlns:esri="using:Esri.ArcGISRuntime.UI.Controls"
<Grid xmlns:esri="using:Esri.ArcGISRuntime.UI.Controls"
xmlns:toolkit="using:Esri.ArcGISRuntime.Toolkit.UI.Controls">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="300" />
</Grid.ColumnDefinitions>
<esri:MapView x:Name="MyMapView" />
<toolkit:BookmarksView Grid.Column="1"
<toolkit:BookmarksView Grid.Column="1"
GeoView="{Binding ElementName=MyMapView}" />
</Grid>
```
Expand All @@ -61,7 +61,7 @@ You can customize the `BookmarksView` bookmark display by setting the `ItemTempl
GeoView="{Binding ElementName=MyMapView}">
<toolkit:BookmarksView.ItemTemplate>
<DataTemplate>
<TextBlock Foreground="Red"
<TextBlock Foreground="Red"
Text="{Binding Name}" />
</DataTemplate>
</toolkit:BookmarksView.ItemTemplate>
Expand All @@ -77,7 +77,7 @@ You can customize the `BookmarksView` bookmark display by setting the `ItemTempl
<ColumnDefinition Width="300" />
</Grid.ColumnDefinitions>
<esri:MapView x:Name="MyMapView" />
<esri:BookmarksView Grid.Column="1"
<esri:BookmarksView Grid.Column="1"
GeoView="{Binding ElementName=MyMapView}" />
</Grid>
```
10 changes: 5 additions & 5 deletions docs/feature-data-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ Display and optionally allow editing of a single attribute of a feature.
### UWP/WinUI:

```xml
<esri:FeatureDataField xmlns:esri="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"
Feature="{Binding SelectedFeature}"
FieldName="objectid"
<esri:FeatureDataField xmlns:esri="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"
Feature="{Binding SelectedFeature}"
FieldName="objectid"
IsReadOnly="True" />
```

### WPF:

```xml
<esri:FeatureDataField xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"
Feature="{Binding SelectedFeature}"
FieldName="objectid"
Feature="{Binding SelectedFeature}"
FieldName="objectid"
IsReadOnly="True" />
```
2 changes: 1 addition & 1 deletion docs/floor-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The following properties enable customization or localization of text displayed
### UWP/WinUI:

```xml
<Grid xmlns:esri="using:Esri.ArcGISRuntime.UI.Controls"
<Grid xmlns:esri="using:Esri.ArcGISRuntime.UI.Controls"
xmlns:toolkit="using:Esri.ArcGISRuntime.Toolkit.UI.Controls">
<esri:MapView x:Name="MyMapView" />
<toolkit:FloorFilter GeoView="{Binding ElementName=MyMapView}" />
Expand Down

0 comments on commit 74f5783

Please sign in to comment.