Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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