BCGControlBar Library for .NET
AutoFitContent Property




Gets or sets a value that indicates whether the row height automatically adjusted to fit the content.
Syntax
'Declaration
 
Public Property AutoFitContent As Boolean
'Usage
 
Dim instance As GridDataRow
Dim value As Boolean
 
instance.AutoFitContent = value
 
value = instance.AutoFitContent
public bool AutoFitContent {get; set;}
public: __property bool get_AutoFitContent();
public: __property void set_AutoFitContent( 
   bool value
);
public:
property bool AutoFitContent {
   bool get();
   void set (    bool value);
}
Remarks
This property is ignored if GridData.DisableAutoFitRowContent is true.

It's recommended to set AutoFitContent to true for Excel-like grids only.
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

GridDataRow Class
GridDataRow Members

Send Feedback