开发者

Silverlight toolkit datagrid remove cell vertical separator

How can i开发者_如何学JAVA remove cell vertical separators only in selected row?


Have you tried reaching it programmatically? You have to clear the BorderBrush and the Thickness properties of each cell. There is a rectangle called "RightBorderLine".

e.Cell.Presenter.ClearValue(DataGridCellPresenter.BorderBrushProperty);
e.Cell.Presenter.ClearValue(DataGridCellPresenter.BorderThicknessProperty);

If you try to override the Datagrid cell style it will affect only the selected datagrid cell (the one you clicked in when selecting the row).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜