Should WPFToolkit Accordion "Stretch" VerticalAlignment be respected by AccordionItems?

I want to reproduce the behavior similar to the Outlook bar and found the WPFToolkit's Accordion control. I've created a test app from the WPFToolkit (Feb. 2010) sample application (below) I'm having trouble understanding the behavior.

<Window x:Class="AccordionTest.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"
    xmlns:system="clr-namespace:System;assembly=mscorlib"
    Title="MainWindow" Height="350" Width="525" Background="DimGray">
<Grid Background="Red">
    <toolkit:Accordion x:Name="acc" SelectionMode="One" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <toolkit:AccordionItem Content="item 1" Header="Item 1"  />
        <toolkit:AccordionItem Content="item 2" Header="Item 2" />
        <toolkit:AccordionItem Content="item 3" Header="Item 3" />
    </toolkit:Accordion>
</Grid>

I have the VerticalAlignment set to Stretch and the Accordion itself stretches from top to bottom of the form - but the accordion items do not. Initially the first item ("Item 1") is stretched but if I then select the other items, they don't expand and stretch to fill the space.

So the Outlook behavior seems to work at load time but when I select the items, the control does not behave as expected.

Any Ideas?

TabControl.VerticalAlignment = Stretch doesn't do anything

Hell, I am trying to make a TabControl to auto resize according to the its outer space(it's in a StackPanel): <Window x:Class="Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="100"> <Grid> <StackPanel> <TabControl BorderBrush="Red" BorderThickness="2" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch"> <TabItem Header="Tab1"/> <TabItem Header="Tab2"/> </TabControl> </StackPanel> </Grid> </Window> The snippet above produces the following window, whilst I want...

Scroll Vertically inside ListView when ListView is VerticalAlignment="Stretch"

How do we get the ListView to behave properly? I am trying to scroll vertically inside my ListView, and I was eventually able to get something to scroll vertically, but the ListView keeps expanding in height! and setting MaxHeight doesn't do anything. <StackPanel x:Name="ActivityLog" Margin="0, 201, 0, 0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">...

Rich:accordion collapses all accordionItems on page refresh

I have a rich:accordion which has two rich:accordionItems in it. Some action in accordionItem 2, makes the accordionItem 1 disabled. Hence, after that action, I re-render the whole accordion so that accordionItem 1 is shown as disabled. But on re-render, though item1 is disabled, item2 is getting collapsed. How can...

Telerik RadDocking in WPF: VerticalAlignment Stretch not working

The layout of my screen is as below; I've divided into in left and right panes. I want the panes to use all available vertical height. It seems to be using all available width by default, growing wider as the main window is dragged wider. But the same is not...

How do I access the AccordionItems of an Accordion programatically?

I am using an accordion in my silverlight app. In the accordionItem I am having a listbox and I need to access the expanded accordion item and this listbox of the accordion. I am having hard time finding accessing the accordionitem and the listbox it is holding. How do I...

VerticalAlignment="Stretch" stretches out of my container

I have a parent container that is used to hold all of my user controls. The issue is that I use VerticalAlignment="Stretch" to stretch contents to the full height and get a vertical scroll bar the user control gets stretched too much. The vertical scrollbar appears but there is no...

VerticalAlignment="Stretch" for label inside canvas doesn't work

How to use VerticalAlignment="Stretch" with a Label inside a Canvas? I'm trying to center the text "Cancel" in the button as in the code below. To use fixed height and width for the label isn't a desired option. <Button Name="buttonCancel" Width="80" Height="40" IsCancel="True" Padding="0" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"> <Canvas> <Label Canvas.Top="0" Canvas.Left="0"...

Is there a way to style the last row of a DataGrid to automatically consume all remaining height (ala VerticalAlignment="Stretch")?

Setting the VerticalAlignment on the cell contents didn't work. I think this is because the cell itself needs that....

DataGrid inside Grid with VerticalAlignment set to Stretch scroll bars are not showing

I've a WPF windows application. I'm loading a DataGrid control into a cell of a Grid. I've set VerticalAlignment property to Stretch and Height to Auto. In design view, it is showing properly. When I run the application, all the rows are added without scroll bars. As the rows goes...

Enabling UI virtualization on the WPFToolkit Accordion

I am using the WPFToolkit Accordion control with the items in the accordion defined to be a TreeView. For context, here is the relevant part of the XAML: <ScrollViewer VerticalScrollBarVisibility="Auto" CanContentScroll="True"> <layoutToolkit:Accordion DockPanel.Dock="Bottom" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding FoodTypes}" SelectionMode="ZeroOrOne" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling"> <layoutToolkit:Accordion.ContentTemplate> <DataTemplate> <TreeView Margin="0 0 0 0" BorderThickness="0" ItemsSource="{Binding ChildrenView}"...

WPF Accordion VerticalAlignment bug

Using the Accordion control from the latest WPF toolkit i came across this issue. When an accordion control has its VerticalAlignment set to 'Stretch' the AccordionItems contained within it will no longer expand if the SelectionMode is set to 'One'. If the selection mode is set to 'ZeroOrOne' you...

Free Wordpress Theme - Stretch - Free Download

Free Wordpress Theme - Stretch A simple, 2 column, fitness and weight lifting theme. Great for any fitness bloggers.Features:Tested on Latest Wordpress version 2 columns Widget ready Fixed Width Cross browser compatible with IE, FF, Opera, Flock & Safari Demo | Download | Theme URI License: Free to use must...

Stretch movie horizontal across page

Hi there would any one beable to tell me how to stretch a movie horizontally across a page so that it fits within the size of the browser an resizes as an when the browser is. Or is this done in dreamweaver?? please help, going stir crazy p......

Attaching sound to Accordion Component

Could someone kindly post some sample code of how to attach a sound to the accordion component when each selection is clicked? i tried var s:sound = newSound(); s.attachSound("click"); but failed. mucho gracias......

A 4 level accordion menu?

I am trying to use the ui components accordion menu but I need to have 4 levels rather than 2 for player 6. Anyone got any ideas or seen any out there, dont mind buying it......

Time stretch fails with "Illegal instruction" in 0.24

Hi All, I recently upgraded my mhthtv from 0.23 to 0.24. In 0.23 the "time strech" feature worked flawlessly on my mythbuntu box. However, with 0.24 when I choose "time stretch" the mythfrontend just crashes immediately. I get the error (in the terminal) "Illegal instruction". Without much else helpful. Included...

Accordion Panel Pro V1 / V2

Hi I just bought the Accordion Panel Pro 1 & 2 from jumpeye. It seems to work really well but I can't figure out how to get my movies to start after the panel has been opened. They just start on load up so are finished by time you open...

Stretch Image file OVER its scale

Anyone knows how to stretch an image file over its scale? What i mean is: e.g, The image's height and width are 10k and 8k respectively. But i would like to stretch this picture file loaded into a size which height and width are 20k and 16k respectively. And after...

Stretch Image file OVER its scale

Anyone knows how to stretch an image file over its scale? What i mean is: e.g, The image's height and width are 10k and 8k respectively. But i would like to stretch this picture file loaded into a size which height and width are 20k and 16k respectively. And after...

Respected.Trusted Sites to shop 4 parts

Im looking for a respected / trusted online store which sells computer parts. Similar to Newegg in the states Thanks in advance. :EDIT: i need it for Canada, cuz newegg doesnt send to canada Edited by CrisCr0ss, 22 May 2005 - 21:47.......

Accordion component and buttons

I have used the tutorial found on gotoAndLearn.com that shows you how to use the Accordion component with flvs. I want to be able to control the video as you would with a standalone one but I don't know how to. Are there any tutorials or can anyone help? Cheers......

Accordion Component

I'm trying to add more pages to an accordion component. When I get to the forth pages the content from the forth page appears on all the pages. IS there something I'm doing wrong or is iot that you can;t add more than three pages to an accordian component.......

Making DIV stretch to fit overflow

I'm really in need of finding a way to make a DIV stretch out so that things don't overflow in the first place. In IE6, the CSS overflow property behaves incorrectly. You can see an example http://www.quirksmode.org/css/overflow.html(adsbygoogle = window.adsbygoogle || []).push({}); What I'm trying to do is emulate this behavior...

2-part Accordion pane headers

I want my Accordion pane headers split into to parts: "Question n" and "(x/10 pts)" It's easy enough to separate them with a few tab characters, but I'd like the Question part to be left-aligned and the score part to be right-aligned. The fact that x and n could be...

Stretch Bendycoot

Hi. Please have a go on a new game of mine:http://www.stretchbendycoot.com Any comments welcome! Be brutal! thanks, fty......

How do I createEmptyMovieClip and add it to and Accordion child?

I create the empty movie clip and populate it with text a field(this is displays on the canvas). I then want to add this MC to a accordion child but I get a ?Error opening URL "file:///H|/_level0.form_mc"? error message. Code: _root.createEmptyMovieClip("form_mc", 1); form_mc.createTextField("firstName_txt", 1, 0, 0, 200, 20); form_mc.firstName_txt.border =...

Flash "DOT" Syntax problem, accordion, getting data from texbox in a movie clip.

I have a form thats in a movie clip embedded in an accordion component within flash 2004. I am trying to get data out of a textbox within that movie clip, but it just returns "Undefined". My code is all accessible at http://www.outofthegarage.org/excessinvform.zip I can't get it to work, please...

Best way to 'stretch' layout

It's ok I found my brain.......

Stretch Movieclip

Hi, I am doing a fullbrowser flash movie and I have a nav bar that I set to. Code: navBar._width = Stage.width; however I need the movieclip inside of this stretched navbar to retain its dimensions as its currently being stretch with the navbar and looking distorted. Thanks for any...

Stretch Image file OVER its scale

Anyone knows how to stretch an image file over its scale? What i mean is: e.g, The image's height and width are 10k and 8k respectively. But i would like to stretch this picture file loaded into a size which height and width are 20k and 16k respectively. And after...