SpreadsheetDataSourceWizardOptions.CustomAssemblyBehavior Property

Enables you to specify whether the Data Source Wizard can load a custom assembly containing the Entity Framework data context during mail merge.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v20.1.dll

Declaration

[DefaultValue(SpreadsheetCustomAssemblyBehavior.Prompt)]
public SpreadsheetCustomAssemblyBehavior CustomAssemblyBehavior { get; set; }
<DefaultValue(SpreadsheetCustomAssemblyBehavior.Prompt)>
Public Property CustomAssemblyBehavior As SpreadsheetCustomAssemblyBehavior

Property Value

Type Default Description
SpreadsheetCustomAssemblyBehavior

Prompt

A SpreadsheetCustomAssemblyBehavior enumeration value that specifies whether to load an assembly without prompting, to not load and disable browsing for the assembly file, or pass the request to a special service.

Property Paths

You can access this nested property as listed below:

Object Type Path to CustomAssemblyBehavior
SpreadsheetControl
.Options.DataSourceWizard.CustomAssemblyBehavior
SpreadsheetControlOptions
.DataSourceWizard.CustomAssemblyBehavior

Remarks

TIP

Use the SpreadsheetDataSourceLoadingOptions.CustomAssemblyBehavior property to specify whether the SpreadsheetControl can load a custom assembly containing the Entity Framework data context to perform mail merge.

See Also