Skip to main content
A newer version of this page is available. .

SqlWizardSettings.QueryBuilderLight Property

Specifies whether or not the Query Builder invoked from the Data Source Wizard provides table and column names’ customization.

Namespace: DevExpress.DataAccess.UI.Wizard

Assembly: DevExpress.DataAccess.v20.2.dll


public bool QueryBuilderLight { get; set; }

Property Value

Type Default Description


true, to enable table and column names’ customization; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to QueryBuilderLight
Cross-Platform Class Library DataSourceWizardSettings
WinForms Controls DataSourceWizardOptions
Reporting XRDesignMdiController
Dashboard DashboardDesigner


The lightweight Query Builder allows you to specify user-friendly names for tables and columns instead of actual data member names. The IDisplayNameProvider interface provides this functionality. The Light Query Builder does not display the resulting SQL query and disables column expressions because these options use actual data member names. The lightweight version is available for WinForms and WPF.

Query Builder Light Mode for WinForms

Set the QueryBuilderLight property to true to enable the Query Builder Light mode (for instance, in the Form’s Load event handler).

private void Form1_Load(object sender, EventArgs e) {
    reportDesigner1.DataSourceWizardSettings.SqlWizardSettings.QueryBuilderLight = true;

The following image illustrates the lightweight Query Builder version for Winforms.


Query Builder Light Mode for WPF

Set the QueryBuilderLight property to true to enable the Query Builder Light mode (for instance, in the Window’s Loaded event handler).

private void Window_Loaded(object sender, RoutedEventArgs e) {
    reportDesigner.DataSourceWizardSettings.SqlWizardSettings.QueryBuilderLight = true;

Alternatively, you can use the following XAML code to enable the lightweight Query Builder version.

<Window ...

    <dxrud:ReportDesigner x:Name="reportDesigner">
            <dxda:DataSourceWizardSettings SqlWizardSettings="{dxda:SqlWizardSettings QueryBuilderLight=True}" />

This image illustrates the Light Query Builder for WPF.


See Also