Explorar el Código

Update from-wpf.md

Small typo in sample.
Matthijs ter Woord hace 8 años
padre
commit
bf2a363ef6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/tutorial/from-wpf.md

+ 1 - 1
docs/tutorial/from-wpf.md

@@ -33,7 +33,7 @@ placed in a `DataTemplates` collection on each control (and on `Application`):
                     <TextBox Text="{Binding Name}"/>
                 </Border>
             </DataTemplate>
-        </UserControl.Styles>
+        </UserControl.DataTemplates>
         <!-- Assuming that DataContext.Foo is an object of type
              MyApp.ViewModels.FooViewModel then a red border with a corner
              radius of 8 containing a TextBox will be displayed here -->