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 mimic expanders in Expression Blend

 
 
Old 02-26-2007   #1 (permalink)
Larry Andersen


 
 

How to mimic expanders in Expression Blend

They say imitation is the sincerest form of flattery. I love the UI in
Blend and would love to mimic the way the expand/collapse panels work
(Trigggers, Objects and Timeline, Files, etc). I can't quite figure out how
to get expanders to work this way.

In my attempts, I created a grid, with a GridSplitter and an Expander
control wrapped around a border as
follows (attributes removed for brevity):

<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50*/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Border>
<Expander Grid.Row="0"/>
</Border>
<Border>
<Expander Grid.Row="1"/>
</Border>
<GridSplitter/>
</Grid>

When the app starts up, everything looks beatiful and works just peachy.
However, as soon as you move the GridSplitter, things start to go haywire.
The border that surrounds the expander no longer expands or collapses when
the expander does. I'm guessing that this is because the the GridSplitter
modifies the ActualHeight of the cells to be actual values instead of keeping
them relative. Is this a correct assumption?

Given this, can someone from MS be kind enough to share the secret to making
this behaviour or does MS consider this some sort of proprietary intellectual
property that must be guarded at all costs?

Thanks for the help.


--
New to EID and loving it

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Trying to mimic terminal services Virtual PC
wow mimic bot can help you lvl up fast your wow account and pick many wow gold, more information visit www.bottors.com Vista Games
Issue: Invoke-Expression with $args in the expression PowerShell


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