BCGControlBar Library for .NET
AutoSizeMode Property




Gets or sets the value that indicates how column size is adjusted in the Grid control.
Syntax
'Declaration
 
Public Property AutoSizeMode As GridAutoSizeColumnMode
'Usage
 
Dim instance As GridColumn
Dim value As GridAutoSizeColumnMode
 
instance.AutoSizeMode = value
 
value = instance.AutoSizeMode
public GridAutoSizeColumnMode AutoSizeMode {get; set;}
public: __property GridAutoSizeColumnMode get_AutoSizeMode();
public: __property void set_AutoSizeMode( 
   GridAutoSizeColumnMode value
);
public:
property GridAutoSizeColumnMode AutoSizeMode {
   GridAutoSizeColumnMode get();
   void set (    GridAutoSizeColumnMode value);
}
Remarks
Set this property to GridAutoSizeColumnMode.Fill along with GridControl.AutoSizeColumnMode to enable auto fill mode for the column. In this mode all columns are fit the Grid control client area. If one column is expanded/stretched all other columns are stretched/expanded.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridColumn Class
GridColumn Members

Send Feedback