❔ XAML - The property 'Content' is set more than once
I recently began working with XAMl, but I'm can't get my head around with this error message "The Property Content is set more than once", would anyone be able to help me with this? When i delete code from line 132 to line 145 then it disappears, please see attached my code and help me
7 Replies
$code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
If your code is too long, post it to: https://paste.mod.gg/
To post C# code type the following:
```cs
// code here
```
Get an example by typing $codegif
in chat
If your code is too long, post it to: https://paste.mod.gg/you can only have one top-level control in your window
so you need another container to put your
Border
elements inwould you be able to show me in code how to add it?
it's the same way you put all the other elements in
the specific container depends on the layout you're going for, a stackpanel is simplest
Got it, I'll try it out
thanks
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.