SpreadsheetRowBehaviorOptions.AutoFit Property

Gets or sets the document's capability to adjust row height to accommodate cell content. This is a dependency property.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v20.1.dll

Declaration

public DocumentCapability AutoFit { get; set; }
Public Property AutoFit As DocumentCapability

Property Value

Type Description
DocumentCapability

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

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoFit
SpreadsheetBehaviorOptions
.Row.AutoFit
SpreadsheetControl
.Options.Behavior.Row.AutoFit
SpreadsheetControlOptions
.Behavior.Row.AutoFit

Remarks

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

See Also