开发者

Maximum Width and Height in Silverlight

In general, how does one set a control to take up the entire Height and Width开发者_如何学Go of its container? I am new to Silverlight and was surprised that the controls don't have a Dock property (unless I am missing something).


If you set the Width and Height using the Star "*" notation it will occupy as much space that is "left" in the container. Setting the Height and Width to "Auto" will make the control use as much space as is needed to display the contents of what is in the control.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜