Skip to main content
.NET Framework 4.5.2+

ExportController.Exportable Property

Specifies the List Editor whose data is to be exported by the ExportController.ExportAction.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public IExportable Exportable { get; set; }

Property Value

Type Description
IExportable

An IExportable object that is the List Editor to be exported.

Remarks

To enable List Editors to be exported by the ExportController, they must implement the IExportable interface. Nealy all XAF built-in List Editors implement this interface, and thus can be exported by the ExportController. Use the Exportable property to access the List Editor to be exported by the current ExportController. By default, this property returns the current List View’s List Editor cast to the IExportable interface. If the current View doesn’t represent a List View or its List Editor does not implement the IExportable interface, the property returns null (Nothing in VB). In this instance, the ExportController.ExportAction Action is not activated.

In addition, use this property if you need to set another editor instead of the default one. In this instance, the ExportController.AutoUpdateExportable property is set to false automatically. So, the system won’t update this property when the current List View’s List Editor is changed. However, set the AutoUpdateExportable property to true when you need to return the control under the exportable editor to the system.

See Also