WPF
Thursday, May 17, 2012
Have Control Fill Parent's Available Space
Use the "HorizontalAlignment" and "VerticalAlignment" properties and set them to "Stretch":
HorizontalAlignment
.
="Stretch"
VerticalAlignment
="Stretch".
For example, you could use these properties on a TextBox that is inside a Grid cell
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment