masoud khanlo
masoud khanlo

Reputation: 307

usercontrol push out from Window when animation running in wpf

I used TranslateTransfrom animation for show usercontrols , but usercontrol pushed out from window when animate. screenshots :

enter image description here

blue rectangle shows my problem , i changed window content for show usercontrols and i tried change Grid (that into window) Content but result not changed. any idea?

main question :

how to limit animation to a grid?

Excuse me for poor English!

Upvotes: 0

Views: 170

Answers (1)

Jayasri
Jayasri

Reputation: 235

set margin value

margin="5 5 0 0"

Upvotes: 1

Related Questions