BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridDataBoundGrid1_ResizingColumns(object sender, GridResizingColumnsEventArgs e) { if(e.Reason == GridResizeCellsReason.HitTest) { int row, col; if(this.gridDataBoundGrid1.PointToRowCol(e.Point, out row, out col) && row != 1) { e.Cancel = true; } } }
private void gridControl1_ColWidthsChanging(object sender, GridRowColSizeChangingEventArgs e) { if(e.From == 2 && e.Values[0] > 200 || e.Values[0] < 50) e.Cancel = true; }Here is a sample.