You can fix this problem by setting the VerticalContentAlignment
property of GridViewCell
as you have already done. You can achieve the same result if you use VerticalAlignment
instead of VerticalContentAlignment.
The main difference between VerticalAlignment
determines the alignment of the control itself
with respect to its parent control. However, the VerticalContentAlignment
determines the controls content
alignment with respect to the control.
When property's value is set to stretch,
the element fills the entire layout slot of the parent element. You can find more details on how the different values of the property work here
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>