We have answered to your support ticket, but we would also like to describe what has changed.
RadHostItem is an element that is part of our hierarchy of elements and as such it is taking part in our layout scheme.
There are two ways of interaction between the size of the host item and the size of the control it hosts (the hosted control):
- The layout system calculates the available size for the host item and the item gives that size to the hosted control
- The hosted control has a set size and the host item makes the layout system to take that size into account when determining the size of the control hosting the hosted control
Two boolean properties of RadHostItem determine these interactions: StretchHorizontally and StretchVertically.
When some of them is false it means that in that direction the host item takes its size from the hosted control and the layout system will consider this size in its calculations.
The default value for these two properties was false and is now changed to true. The reason is that users are more likely to use the hosted control in the RadControl the same way as the other elements (i.e. by obeying the layout).
Still, with StretchHorizontally and StretchVertically set to false the old behavior can be achieved (the layout to obey the size of the hosted control). In the particular situation that is described here (and in the support ticket) the code was relying on the size of the hosted control.
All the best,
the Telerik team