Used twoStackPanel in window
I have used two stack panel in window but when I debug the application I get an error message. That message is 'Content' can only be sat once. How can I solve this?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nipun TomarPosted Jun 7, 2011, 5:08 AM
I don knw how you have done this , but if you want to use two stackpanels in a single window, below is the code for it:
<Grid>
<StackPanel Background="Green" Margin="202,35,151,38" />
<StackPanel Margin="36,35,316,38" Background="Blue"/>
Grid>
Mamta MPosted Jun 6, 2011, 1:10 AM