Syncfusion.Grid.Windows


AutoSize Property (GridStyleInfo)

Gets or sets a value indicating whether the cell height should automatically increase when the edited text does not fit into the cell and WrapText is True. If WrapText is False, AutoSize will affect the column width.
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<SRCategoryAttribute("StyleCategoryBehavior")>
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Specifies if the cell height should automatically increase when the edited text does not fit into the cell and WrapText is True. If WrapText is False, AutoSize will affect the column width.")>
Public Property AutoSize As Boolean
'Usage
 
Dim instance As GridStyleInfo
Dim value As Boolean
 
instance.AutoSize = value
 
value = instance.AutoSize
[Browsable(true)]
[SRCategory("StyleCategoryBehavior")]
[NotifyParentProperty(true)]
[Description("Specifies if the cell height should automatically increase when the edited text does not fit into the cell and WrapText is True. If WrapText is False, AutoSize will affect the column width.")]
public bool AutoSize {get; set;}
Remarks

The default value for the AutoSize property is False.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also