SpreadsheetOptionsExtensions.RegisterOfficeStateProvider(SpreadsheetOptions, OfficeStateProviderBase) Method

Registers a custom session state provider.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Spreadsheet.v21.1.dll

Declaration

public static SpreadsheetOptions RegisterOfficeStateProvider(
    this SpreadsheetOptions spreadsheetOptions,
    OfficeStateProviderBase provider
)

Parameters

Name Type Description
spreadsheetOptions SpreadsheetOptions

Spreadsheet options.

provider OfficeStateProviderBase

An OfficeStateProviderBase descendant that is a custom state provider.

Returns

Type Description
SpreadsheetOptions

An object that can be used to further configure the Spreadsheet options.

See Also