| StyleAutoSize Property |
Gets or sets the auto size property.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax [DefaultValueAttribute(false)]
public bool AutoSize { get; set; }
<DefaultValueAttribute(false)>
Public Property AutoSize As Boolean
Get
Set
public:
[DefaultValueAttribute(false)]
property bool AutoSize {
bool get ();
void set (bool value);
}
Property Value
Type:
Booleantrue if auto size is enabled, and
false otherwize.
Remarks
When auto size is enabled, the edit cell automatically grows while
the user enters large text. If you have enabled word break, edit cells
grow vertically. If you have disabled word break, edit cells grow
horizontally. Rich edit cells grow only vertically and do not depend on
word break.
Cells do not grow when filled the cells programmatically. For
example, calling SetValueRange with large text does not cause the cell
to grow. Call ResizeRowHeightsToFit to resize rows after you fill
the cells with SetValueRange.
See Also