4.0 c1flexgrid使列不可见
是回复反了,不好意思,另一个帖子中已经给你回复,tabcontrol目前没有办法禁止移动 通过设置列的Visible属性为false即可
xaml中的话,参考下面代码中第一列的设置
<c1:C1FlexGrid x:Name="grid" AutoGenerateColumns="False">
<c1:C1FlexGrid.Columns>
<c1:Column Binding="{Binding Active}" MinWidth="70" Width="0.5*" Visible="False"/>
<c1:Column Binding="{Binding Id}" IsReadOnly="true" MinWidth="100" Width="*"/>
<c1:Column Binding="{Binding FirstName}" MinWidth="110" Width="*"/>
<c1:Column Binding="{Binding LastName}" MinWidth="110" Width="*"/>
<c1:Column Binding="{Binding CountryId}" Header="Country" MinWidth="110" Width="*"/>
<c1:Column Binding="{Binding LastOrderDate}" Format="d" MinWidth="110" Width="*" HorizontalAlignment="Right" HeaderHorizontalAlignment="Right"/>
<c1:Column Binding="{Binding LastOrderDate}" Format="t" Header="Last Order Time" MinWidth="110" Width="*" HorizontalAlignment="Right" HeaderHorizontalAlignment="Right"/>
<c1:Column Binding="{Binding OrderTotal}" Format="C" MinWidth="110" Width="*" HorizontalAlignment="Right" HeaderHorizontalAlignment="Right"/>
</c1:C1FlexGrid.Columns>
</c1:C1FlexGrid> 那啥,是不是搞反了,tabcontrol咋弄
页:
[1]