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+
.NET Core 3.0+
Row

ISpreadsheetComponent.Unit Property

Gets or sets a unit of measure used in the workbook.

Namespace: DevExpress.Spreadsheet

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

Declaration

DocumentUnit Unit { get; set; }
Property Unit As DocumentUnit
DocumentUnit Unit { get; set; }
Property Unit As DocumentUnit
DocumentUnit Unit { get; set; }
Property Unit As DocumentUnit

Property Value

Type Description
DocumentUnit

The DocumentUnit enumeration member. It is expected to be set to the DocumentUnit.Document value by default.

Property Value

Type Description
DocumentUnit

The DocumentUnit enumeration member. It is expected to be set to the DocumentUnit.Document value by default.

Property Value

Type Description
DocumentUnit

The DocumentUnit enumeration member. It is expected to be set to the DocumentUnit.Document value by default.

Remarks

By default, all workbooks loaded in the SpreadsheetControl gets the unit of measurement from the SpreadsheetControl.Unit property value. To specify the unit of measurement for the workbook explicitly, use the SpreadsheetControl.Document.Unit notation.

When the unit of measurement is changed, the ISpreadsheetComponent.UnitChanging and ISpreadsheetComponent.UnitChanged events occur.

See Also