From 0ee5f809804490588b9372e3c6bae4bfe86e86f4 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Tue, 24 Feb 2015 11:39:13 +0100 Subject: [PATCH] Fixed indentation. --- Docs/intro.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Docs/intro.md b/Docs/intro.md index fdc3bc1e8c..96f445d1e2 100644 --- a/Docs/intro.md +++ b/Docs/intro.md @@ -100,8 +100,8 @@ Attached properties are set just like in WPF, using `SetValue()`. But what about ```csharp var control = new Control { - Property1 = "Foo", -[Attached.Property] = "Bar", + Property1 = "Foo", + [Attached.Property] = "Bar", } ``` @@ -111,9 +111,9 @@ Nice... Lets take this further: ```csharp var control = new Control { - Property1 = "Foo", -[Attached.Property] = "Bar", - [!Property2] = something.SomeObservable, + Property1 = "Foo", + [Attached.Property] = "Bar", + [!Property2] = something.SomeObservable, } ``` @@ -125,9 +125,9 @@ Binding to a property on another control? Easy: ```csharp var control = new Control { - Property1 = "Foo", -[Attached.Property] = "Bar", - [!Property2] = anotherControl[!Property1], + Property1 = "Foo", + [Attached.Property] = "Bar", + [!Property2] = anotherControl[!Property1], } ``` @@ -136,9 +136,9 @@ Two way binding? Just add two bangs: ```csharp var control = new Control { - Property1 = "Foo", -[Attached.Property] = "Bar", - [!!Property2] = anotherControl[!!Property1], + Property1 = "Foo", + [Attached.Property] = "Bar", + [!!Property2] = anotherControl[!!Property1], } ```