The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SpreadsheetRowBehaviorOptions.AutoFit Property

Gets or sets the document's capability to adjust row height to accommodate cell content.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

[DefaultValue(DocumentCapability.Default)]
public virtual DocumentCapability AutoFit { get; set; }
<DefaultValue(DocumentCapability.Default)>
Public Overridable Property AutoFit As DocumentCapability
[DefaultValue(DocumentCapability.Default)]
public virtual DocumentCapability AutoFit { get; set; }
<DefaultValue(DocumentCapability.Default)>
Public Overridable Property AutoFit As DocumentCapability

Property Value

Type Default Description
DocumentCapability

Default

A DocumentCapability enumeration value specifying the document's capability to perform an operation.

Property Value

Type Default Description
DocumentCapability

Default

A DocumentCapability enumeration value specifying the document's capability to perform an operation.

Remarks

Note that when you disable resizing rows (SpreadsheetRowBehaviorOptions.Resize), the AutoFit command is also disabled. However the AutoFit option remains unchanged.

See Also