property Grid.ColumnAutoResize as Boolean
Returns or sets a value indicating whether the control will automatically size its visible columns to fit on the control's client width.

 TypeDescription 
   Boolean A boolean expression indicating whether the control will automatically size its visible columns to fit on the control's client width.  

By default, the ColumnAutoResize property is True. Use the ColumnAutoResize property to fit all visible columns in the control's client area. Use the Add method to add new columns to the control's Columns collection. Use the Width property to change the column's width. Use the Visible property to hide a column. Use the ContinueColumnScroll property to specify whether the user scrolls the control's content column by column or pixel by pixel. If the ColumnAutoResize property is True, the control does not display the control's horizontal scroll bar. Use the ScrollBars property to show or hide the control's scroll bars. By default, the control adds scroll bars when required.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.