R
Rolf Welskes
Hello,
because there are no managed news group for window presentation foundation
and one
has told me I can use this, here my problem:
I am now working with VS 2008 final
Try the following code in VS2008 final (not beta 2 !!!)
<Window x:Class="TestApp01.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:a="clr-namespace:TestApp01"
Title="Window1" Height="300" Width="300">
<Grid>
<ListView Background="Beige" Margin="34,51,60,68" Name="listView1">
<ListView.View>
<GridView>
<GridViewColumn Header="aaaaaa" Width="100" >
</GridViewColumn>
<GridViewColumn Width="100" Header="bbbb" >
</GridViewColumn>
</GridView>
</ListView.View>
</ListView>
</Grid>
</Window>
When you run the program you see the columns of the listview.
In designer you see nothing.
Remark: In VS2008 beta2 this was no problem.
Thank you for any help.
Best Regards
Rolf Welskes
because there are no managed news group for window presentation foundation
and one
has told me I can use this, here my problem:
I am now working with VS 2008 final
Try the following code in VS2008 final (not beta 2 !!!)
<Window x:Class="TestApp01.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:a="clr-namespace:TestApp01"
Title="Window1" Height="300" Width="300">
<Grid>
<ListView Background="Beige" Margin="34,51,60,68" Name="listView1">
<ListView.View>
<GridView>
<GridViewColumn Header="aaaaaa" Width="100" >
</GridViewColumn>
<GridViewColumn Width="100" Header="bbbb" >
</GridViewColumn>
</GridView>
</ListView.View>
</ListView>
</Grid>
</Window>
When you run the program you see the columns of the listview.
In designer you see nothing.
Remark: In VS2008 beta2 this was no problem.
Thank you for any help.
Best Regards
Rolf Welskes