Skip to content

Commit be05b1d

Browse files
Fix typo, UserControl tag was not closed.
1 parent ca034db commit be05b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/get-started/wpf/datatemplates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For example, this code adds a data template to display the view model class `MyV
2525
radius of 8 containing a TextBox will be displayed here.
2626
DataType is required only if you use Compiled Bindings, so it can be type-checked. -->
2727
<ContentControl Content="{Binding Foo}"/>
28-
<UserControl>
28+
</UserControl>
2929
```
3030

3131
Data templates in Avalonia can also target interfaces and derived classes (which cannot be done in WPF) and so the order of `DataTemplate`s can be important: `DataTemplate`s within the same collection are evaluated in declaration order so you need to place them from most-specific to least-specific as you would in code.

0 commit comments

Comments
 (0)