View Single Post
Old 04-06-2011, 05:41 PM   #1
yongkang4760
Warrant Officer
 
Join Date: Mar 2011
Posts: 307
yongkang4760 is on a distinguished road
Default Office Professional 2007 Xceed Community - ListVie

I assume I may have located a pair of bugs in the ListView on the Office2007 Themes.,Office Professional 2007
1) My ListViewItems (stackpanel with an picture and textblock inside of) do not display.
2) There appears to be some form of clickable button on the high from the ListView by using your theme but there isn't any button once the theme is removed.
Here could be the XAML for my listbox:
<ListView DockPanel.Dock="Left"
Width="130"
Height="Auto"
Name="lstSections"
SelectionChanged="lstSections_SelectionChanged">
<ListView.GroupStyle>
<GroupStyle>
<GroupStyle.HeaderTemplate>
<DataTemplate>
<TextBlock Text="Binding Name"
Foreground="#FF0000D5" />
</DataTemplate>
</GroupStyle.HeaderTemplate>
</GroupStyle>
</ListView.GroupStyle>
<ListView.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<Image Source="Binding DisplayImage"
Height="16"
Width="16" />
<TextBlock Text="Binding DisplayName"
Foreground="Black"
VerticalAlignment="Center" />
</StackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
Any help resolving these issues would be appreciated.
yongkang4760 is offline   Reply With Quote

Sponsored Links