Hi,
I'm using the Jan CTP and I'd like to evenly space the elements of a
list inside an horizontal box. I do something like
<Style x:Key="TaskList" TargetType="{x:Type ItemsControl}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ItemsControl}">
<Grid Height="35">
<DockPanel Width="Auto" IsItemsHost="True"/>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
My problem is that the items always have a constant width. I want them
to fill the Grid.
I also tried to use a DockPanel, but it seems the DocPanel.Dock="Fill"
property is not valid anymore.
Please help
Many thanks
Phil


