开发者

How to make WPF DataGrid VerticalScrollBar Always Visible?

Do you knows how to make the WPF DataGrid VerticalScrollBar always visible, even if there is no data to display without putting DataGrid object instid a 开发者_如何学编程ScrollViewer?


You should be able to set the ScrollViewer.VerticalScrollBarVisibility attached property like so:

<DataGrid ScrollViewer.VerticalScrollBarVisibility="Visible" ...
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜