1
Answer

Vertical scrollbar in Datagrid

Roshni Faye

Roshni Faye

9y
458
1
Hello,
 
I am having Datagrid, I need to show vertical scroll bar in it. I tried following but not working.
 
<DataGrid x:Name="VoterMaster_grid" ItemsSource="{Binding Tables}" CanUserResizeRows="False" CanUserAddRows="False" AutoGenerateColumns="False" IsReadOnly="True"
ScrollViewer.CanContentScroll="False" VerticalScrollBarVisibility="Auto" MouseDoubleClick="VoterMaster_grid_MouseDoubleClick_1"   >
Answers (1)
0
Gowtham Rajamanickam

Gowtham Rajamanickam

NA 23.9k 2.9m 9y
https://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.verticalscrollbar%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396