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

Closed Thread
 
Thread Tools Display Modes
Old 02-26-2007   #1 (permalink)
Larry Andersen
Guest


 

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
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
wow mimic bot can help you lvl up fast your wow account and pick many wow gold, more information visit www.bottors.com strongboy Vista Games 0 06-11-2008 09:51 AM
MS Expression Blend and WPF BillG Avalon 1 09-21-2007 09:10 AM
Expression Blend and WPF BillG Avalon 1 09-17-2007 10:17 AM
blend & animations damy Avalon 2 03-23-2007 11:06 AM
Issue: Invoke-Expression with $args in the expression =?Utf-8?B?Um9tYW4gS3V6bWlu?= PowerShell 1 09-22-2006 09:17 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