c1:C1Accordion 发现一个bug
xaml:<c1:C1Accordionx:Name="accordionDetail"Height="500" Width="300" ExpandMode="Any" Background="AliceBlue">
<c1:C1Accordion.ItemTemplate>
<DataTemplate >
<c1:C1Expander Header="{Binding Name}" IsExpanded="True" FontWeight="Bold">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="30"/>
<RowDefinition Height="30"/>
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Grid.Row="0">
<TextBlock Text="类型:" FontWeight="Bold"/>
<TextBlock Text="{Binding Type}" />
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="1">
<TextBlock Text="文件:" FontWeight="Bold"/>
<TextBlock Text="{Binding NuclideFile}" />
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Row="2">
<TextBlock Text="强度:" FontWeight="Bold"/>
<TextBlock Text="{Binding Strength}" />
</StackPanel>
</Grid>
</c1:C1Expander>
</DataTemplate>
</c1:C1Accordion.ItemTemplate>
</c1:C1Accordion>
cs:
accordionDetail.ItemsSource = trainAccidentRs;
界面:
收到,需要调查一下原因,后续进展我会在帖子中更新
页:
[1]