BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void button1_Click(object sender, System.EventArgs e) { for(int i = 1; i <= this.gridDataBoundGrid1.Model.ColCount; ++i) if(this.gridDataBoundGrid1[0,i].Tag is ListSortDirection) { MessageBox.Show((i.ToString() + " " + this.gridDataBoundGrid1[0,i].Tag.ToString()); } } }
> private void button1_Click(object sender, System.EventArgs e) > { > for(int i = 1; i <= this.gridDataBoundGrid1.Model.ColCount; ++i) > if(this.gridDataBoundGrid1[0,i].Tag is ListSortDirection) > { > MessageBox.Show((i.ToString() + " " + this.gridDataBoundGrid1[0,i].Tag.ToString()); > } > } > } >
Public Class DataBoundSortGrid Inherits GridDataBoundGrid Public Overrides Sub SortColumn(ByVal colIndex As Integer) MyBase.SortColumn(colIndex) Console.WriteLine("After Sort") End Sub End Class
> Public Class DataBoundSortGrid > Inherits GridDataBoundGrid > > > Public Overrides Sub SortColumn(ByVal colIndex As Integer) > > MyBase.SortColumn(colIndex) > Console.WriteLine("After Sort") > > End Sub > > End Class >>