Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

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

Closed Thread
 
Thread Tools Display Modes
Old 12-27-2006   #1 (permalink)
Robert McCall
Guest


 

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

Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make folders auto sort? PBear Vista file management 1 05-15-2008 03:21 PM
Typed datasets and table table adapters components not showing inToolbox bz .NET General 3 04-09-2008 08:13 PM
How to make recycle bin keep same folder columns?? Ric Vista General 1 01-30-2008 07:21 AM
Windows Mail - Auto Expand Folder List on Load? Richard Whitcombe Vista mail 2 09-28-2007 10:25 AM
Auto-Expand Folders Trini Vista file management 8 03-19-2007 07:20 AM








Vistax64.com 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 2005-2008

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 47 48 49 50