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