Back to Devexpress

ExtractDataSourceUIHelper.EditExtractOptions(DashboardExtractDataSource, EditExtractOptionsContext) Method

dashboard-devexpress-dot-dashboardwin-dot-extractdatasourceuihelper-dot-editextractoptions-x28-devexpress-dot-dashboardcommon-dot-dashboardextractdatasource-devexpress-dot-dashboardwin-dot-editextractoptionscontext-x29.md

latest4.0 KB
Original Source

ExtractDataSourceUIHelper.EditExtractOptions(DashboardExtractDataSource, EditExtractOptionsContext) Method

Runs the Data Source Wizard for the Extract Data Source.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public static bool EditExtractOptions(
    this DashboardExtractDataSource dataSource,
    EditExtractOptionsContext context
)
vb
<ExtensionAttribute>
Public Shared Function EditExtractOptions(
    dataSource As DashboardExtractDataSource,
    context As EditExtractOptionsContext
) As Boolean

Parameters

NameTypeDescription
dataSourceDashboardExtractDataSource

The Extract Data Source to edit by the Wizard.

| | context | EditExtractOptionsContext |

Provides access to objects, values and services required to run the Wizard.

|

Returns

TypeDescription
Boolean

True , if the data source is successfully modified; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditExtractOptions(DashboardExtractDataSource, EditExtractOptionsContext) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-customize-extract-data-source-wizard/CS/Custom_Extract_Data_Source_Wizard/Form1.cs#L18

csharp
optionsContext.WizardCustomization = new CustomExtractDataSourceWizardCustomizationService();
    ExtractDataSourceUIHelper.EditExtractOptions(new DashboardExtractDataSource() { FileName = "test.dat" }, optionsContext);
}

winforms-dashboard-customize-extract-data-source-wizard/VB/Custom_Extract_Data_Source_Wizard/Form1.vb#L20

vb
optionsContext.WizardCustomization = New CustomExtractDataSourceWizardCustomizationService()
    ExtractDataSourceUIHelper.EditExtractOptions(New DashboardExtractDataSource() With {.FileName = "test.dat"}, optionsContext)
End Sub

See Also

Data Source Wizard

Extract Data Source

ExtractDataSourceUIHelper Class

ExtractDataSourceUIHelper Members

DevExpress.DashboardWin Namespace