Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SunboX/Prism.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurad <murad.88@inbox.ru>2017-05-14 01:04:17 +0300
committerGitHub <noreply@github.com>2017-05-14 01:04:17 +0300
commita54c2185fb868875d81ffde7ce952c470103bc57 (patch)
tree48114cd0e95fc04d47279ae371c443a8342c0442
parent5aac1741b3557c81c8bd7d7b21e7803e2f52665a (diff)
Added quotes
-rw-r--r--docs/Xamarin-Forms/6-EventToCommandBehavior.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Xamarin-Forms/6-EventToCommandBehavior.md b/docs/Xamarin-Forms/6-EventToCommandBehavior.md
index c5ec4e9..2dca689 100644
--- a/docs/Xamarin-Forms/6-EventToCommandBehavior.md
+++ b/docs/Xamarin-Forms/6-EventToCommandBehavior.md
@@ -27,7 +27,7 @@ Bind or declare a parameter that will be sent to the `ICommand.Execute(object)`
xmlns:b="clr-namespace:Prism.Behaviors;assembly=Prism.Forms">
<StackLayout>
<ListView.Behaviors>
- <b:EventToCommandBehavior EventName="ItemTapped" Command={Binding ItemTappedCommand}
+ <b:EventToCommandBehavior EventName="ItemTapped" Command="{Binding ItemTappedCommand}"
CommandParameter="MyParameter" />
</ListView.Behaviors>
</ListView>
@@ -106,7 +106,7 @@ Setting `EventArgsParameterPath` to **Item** will extract the property value and
xmlns:b="clr-namespace:Prism.Behaviors;assembly=Prism.Forms">
<ListView>
<ListView.Behaviors>
- <b:EventToCommandBehavior EventName="ItemTapped" Command={Binding ItemTappedCommand}
+ <b:EventToCommandBehavior EventName="ItemTapped" Command="{Binding ItemTappedCommand}"
EventArgsParameterPath="Item" />
</ListView.Behaviors>
</ListView>