Skip to main content
.NET Framework 4.6.2+

IExportableAnalysisEditor.ExportTypes Property

Gets the list of export formats supported by the IExportableAnalysisEditor analysis Property Editor.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

IList<PrintingSystemCommand> ExportTypes { get; }

Property Value

Type Description
IList<PrintingSystemCommand>

An List<PrintingSystemCommand> object that is a list of export formats supported by the exportable analysis Property Editor.

Remarks

This list is used to fill the Items collection of the ExportAnalysisController.ExportAction.

When supporting the IExportable interface in a custom Property Editor, the implementation of this property can be similar to the following:

public IList<DevExpress.XtraPrinting.PrintingSystemCommand> ExportTypes {
   get {
      IList<PrintingSystemCommand> exportTypes = new List<PrintingSystemCommand>();
      exportTypes.Add(PrintingSystemCommand.ExportMht);
      exportTypes.Add(PrintingSystemCommand.ExportXls);
      exportTypes.Add(PrintingSystemCommand.ExportPdf);
      exportTypes.Add(PrintingSystemCommand.ExportHtm);
      exportTypes.Add(PrintingSystemCommand.ExportGraphic);
      return exportTypes;
   }
}
See Also