Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
10746 | Feb 11,2004 01:47 PM UTC | Feb 11,2004 03:02 PM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
private bool resized = false; private void gridDataBoundGrid1_ResizingColumns(object sender, GridResizingColumnsEventArgs e) { if(e.Reason == GridResizeCellsReason.MouseDown) this.resized = true; } private void gridDataBoundGrid1_MouseUp(object sender, MouseEventArgs e) { if(this.resized) { this.gridDataBoundGrid1.Model.RowHeights.ResizeToFit(GridRangeInfo.Table()); this.resized = false; } }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.