-
In some of my windows i'm using I want to prevent that stretching issue, obvious i can do via code behind, but is there any property i can set to prevent this?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Right now there is expected behavior with SizeToContent. Window content is not width-constrained by anything, as well as your visual containers, that's why your TextBox is not limited. About your options, I am pretty sure developer can write his own Panel with these properties and override Measure correctly. |
Beta Was this translation helpful? Give feedback.
Right now there is expected behavior with SizeToContent. Window content is not width-constrained by anything, as well as your visual containers, that's why your TextBox is not limited.
About your options, I am pretty sure developer can write his own Panel with these properties and override Measure correctly.