Click here to Skip to main content
15,922,696 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I tried to display data in DatGrid in WPF.

i run this application in one computer , this display correctly.And shown horizontal and vertical scroll bar .

But i run the same application on different computer. the horizontal and vertical scroll bar are disabled state . But i can scroll content using mouse.

How i get different behavior for the same application in different machine

Both system are Windows 7 Professional SP1 64bit

I declare the data grid as
XML
<DataGrid x:Name="dgGroups" ItemsSource="{Binding Groups}" />


How can i resolve this issue?

Thanks in advance...
Posted
Comments
[no name] 17-Dec-15 10:18am    
how could u make use of it

1 solution

I detect the issue, this is due to the Style that apply on current page. Here i added one style for lable and textbox in page resource with specific the key for each style

I remove that style and add as in line style , the issue become resolved.

But i don't know how it work on few machine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900