Skip to main content Skip to footer

GrapeCity Spread Silverlight CTP, AutoFit - Part 2

Spread CTP – AutoFit Script 2

If you are interested in downloading the Spread CTP, please email labs@grapecity.com .

This is the second post in a multi part blog series on the recently announced version of Community Technology Preview of Spread WPF-Silverlight.

Part 1 – Create an app from scratch

Spread Silverlight supports AutoFit in columns and rows. AutoFit automatically sizes the column to fit the contents by adjusting the column width or automatically sizes the row to fit the contents by adjusting the row height. AutoFit ignores the header text.

Double-click the right edge of the column header to resize the column to fit the longest string of text in the column.

Double-click the bottom edge of the row header to resize the row. The WordWrap property must be true.

You can also select multiple columns or rows or the entire sheet and double-click on one selected column or row to apply AutoFit to all the selected columns or rows

AutoFit works with merged cells, hidden columns and rows, filtered columns and rows, grouped columns and rows, and selected columns and rows that are not shown in the viewport. AutoFit is not applied if the resizable property is false for the column or row.

clip_image002

clip_image004

clip_image006

Next Part – Borders and Grid lines.

Technorati Tags: Spread,Excel,Silverlight,CTP,labs@grapecity.com,visual studio,AutoFit

tweetmeme_url = 'http://www.clubfarpoint.com/Forums/blogs/russells\_blog/archive/2012/03/27/grapecity-spread-silverlight-ctp-autofit-part-2.aspx'; tweetmeme_source = '@russcamtv'; tweetmeme_hashtags = '#appdev';

MESCIUS inc.

comments powered by Disqus