开发者

remove the extra column that comes datagrid

how to remove the extra column that comes default in datagrid silverlight 4.0

is there any good links to design开发者_如何学Pythoning(css) data grid in silverlight 4.0

thanks in advance. prince


To take total control over what columns are rendered in a Silverlight DataGrid, you need to define your own 'Columns' collection. For example:

<sdk:DataGrid AutoGenerateColumns="False" ...>
    <sdk:DataGrid.Columns>
        <sdk:DataGridTextColumn x:Name="firstColumn".... />
        ....
    </sdk:DataGrid.Columns>
</sdk:DataGrid>

Hope that helps

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜