Skip to content

Commit 15ba09a

Browse files
authored
Merge branch 'main' into main
2 parents f24cdcf + 7eee08c commit 15ba09a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/get-started/wpf/datatemplates.md

+1-1
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.

docs/get-started/wpf/styling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following code shows a `UserControl` which defines its own CSS-like style.
1818
</Style>
1919
</UserControl.Styles>
2020
<TextBlock Classes="h1">Header</TextBlock>
21-
<UserControl>
21+
</UserControl>
2222
```
2323

2424
<XpfAd/>

0 commit comments

Comments
 (0)