![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | XAML property corresponding to Autosize in Windows Forms I have an animated leftside navigation panel that can collapse. I want the right side 'data panel' to automatically expand and follow the animation of the left side panel. I have a variety of controls (in different utilities, apps, etc) in the 'data panel' and am looking for an 'Autosize' property (like in Windows Forms) in XAML. I have done some testing and the XAML controls do not seem to be 'following' the animation (as a default render behaviour). Is there a 'XAML' based property that I can set to cause 'follow the animation' behavior? The desired result is that data panel elements will automatically expand and follow the Storyboard based animation expand/collapse sizing. Thanks much in advance. Shawnk (a XAML newbie :-) PS. There are a lot of newbie XAML coders looking for this on the Internet. |
| | #2 (permalink) |
| Guest | RE: XAML property corresponding to Autosize in Windows Forms After a lot of experimentation I found out most default behaviour will autosize using <.... Width = "Auto" ..> or on some parent elements <.... HorizontalAlignment = "Stretch" ...> However the Stackpanel and Dockpanel behave differently (as containers). The Dockpanel seems to expand and collapse in situations where the stackpanel (in the exact same situation) will not automatically expand/contract. Shawnk "Shawnk" wrote: > I have an animated leftside navigation panel that can collapse. > > I want the right side 'data panel' to automatically expand and > follow the animation of the left side panel. > > I have a variety of controls (in different utilities, apps, etc) in the > 'data panel' and am looking for an 'Autosize' property (like in Windows > Forms) in XAML. > > I have done some testing and the XAML controls do not seem to be 'following' > the > animation (as a default render behaviour). > > Is there a 'XAML' based property that I can set to cause 'follow the > animation' > behavior? > > The desired result is that data panel elements will automatically expand and > follow the Storyboard based animation expand/collapse sizing. > > Thanks much in advance. > > Shawnk (a XAML newbie :-) > > PS. There are a lot of newbie XAML coders looking for this on the Internet. |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Forms without ShowDialog? | SeanInSeattle | PowerShell | 0 | 1 Week Ago 05:06 PM |
| simulate continuous forms & subforms in a windows forms application | BillE | .NET General | 0 | 05-07-2008 03:20 PM |
| Use my custom TypeDescriptor to obtains default Value on property inXAML Property Editor of Visual Studio 2008 | azerty | Avalon | 0 | 04-14-2008 06:14 AM |
| Windows Forms Editor | Kryten | PowerShell | 9 | 01-17-2008 02:03 PM |
| Textbox AutoSize? | everydaypanos | Avalon | 1 | 04-05-2007 07:24 AM |