【发布时间】:2012-03-06 08:27:32
【问题描述】:
我有一个 Datagrid。排序不适合它。
我不知道问题出在哪里。我搜索了一下。
我没有找到解决方案。
我的代码是
<toolkit:DataGrid Name="TSGrid" RowHeaderWidth="0" IsSynchronizedWithCurrentItem="True"
SelectionChanged="TSGrid_SelectionChanged" GridLinesVisibility="Horizontal"
RowHeight="25"
ColumnHeaderStyle="{DynamicResource ColumnHeaderStyle}" FontSize="12"
BorderBrush="DarkGreen" BorderThickness="1" ColumnHeaderHeight="30"
IsReadOnly="True" ItemsSource="{Binding}"
CanUserAddRows="False" CanUserReorderColumns="True" SelectionMode="Single"
SelectionUnit="FullRow" CanUserResizeColumns="True"
AreRowDetailsFrozen="False" RowStyle="{StaticResource RowStyle}"
AutoGenerateColumns="False" LoadingRow="TSGrid_LoadingRow" Margin="4,0,0,4">
有人可以帮忙吗?
提前致谢
拉姆基
【问题讨论】:
标签: wpfdatagrid