Question Get DataGrid sort direction

bufer24

Active member
Joined
Mar 27, 2008
Messages
35
Programming Experience
3-5
Hi, I know how to set sorting direction on each column in datagrid programatically, but I wonder how to do the opposite: obtain the sorting direction for a particular column. Does anyone know?

Thanks
 

InertiaM

Well-known member
Joined
Nov 3, 2007
Messages
663
Location
Kent, UK
Programming Experience
10+
SortedColumn and SortOrder should give this. Watch for NullReferenceException on SortedColumn if no sort is in place.
 
Top Bottom