Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - How to make a FCE/Table & its columns auto-fit/expand

 
 
Old 12-27-2006   #1 (permalink)
Robert McCall


 
 

How to make a FCE/Table & its columns auto-fit/expand

Greetings, All,

Maybe I'm missing something obvious, due to my focusing on
the UIElement/FrameworkElement/Control side of the WPF
class hier, but I'm having some difficulties with
FrameworkContentElement/TextElement/Block/Table.

I can't get the columns in a table to auto-fit to their contents
or get the table itself to shrink/expand to the
contents or available visible page size. All that seems available
to me is either specifying fixed numerical column widths or just
leaving the ColumnDefinition with the value that the default
constructor gives (which gives equal spacing to each column
within the fixed width specified for the FlowDocument that holds
the actual Table). Note that giving some columns a '*' multiplier
relative to the other columns will not help.

My use is for dumping live data into a series of tables within a
subclassed top-level window that is merely a shell for the
generated content a la:

Window
FlowDocumentScrollViewer
FlowDocument
Tables... & other Block content

Note that this is readonly output.

What are my options here?

Thanks in advance,
Robert McCall


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Anyway to make BT Auto Receiving Software
How to make folders auto sort? Vista file management
How to make recycle bin keep same folder columns?? Vista General
Windows Mail - Auto Expand Folder List on Load? Vista mail
Auto-Expand Folders Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46