Skip to main content

QueryParameterViewModel.Create(IQueryParameter, IEnumerable<IParameter>, Boolean) Method

Creates a new QueryParameterViewModel class descendant supporting the INotifyPropertyChanged interface.

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

Assembly: DevExpress.Xpf.DataAccess.v24.1.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public static QueryParameterViewModel Create(
    IQueryParameter queryParameter,
    IEnumerable<IParameter> sourceParameters,
    bool fixedParameter
)

Parameters

Name Type Description
queryParameter IQueryParameter

An object implementing the IQueryParameter interface.

sourceParameters IEnumerable<IParameter>

A collection of objects implementing the IParameter interface.

fixedParameter Boolean

true, if only the parameter value can be edited; otherwise, false. This value is assigned to the ParameterViewModel.IsFixedParameter property.

Returns

Type Description
QueryParameterViewModel

A QueryParameterViewModel object.

See Also