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

ParameterViewModel.Create(IParameter, IEnumerable<IParameter>, Boolean) Method

Creates a new ParameterViewModel class descendant supporting the INotifyPropertyChanged interface.

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

Assembly: DevExpress.Xpf.DataAccess.v21.2.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public static ParameterViewModel Create(
    IParameter parameter,
    IEnumerable<IParameter> sourceParameters,
    bool fixedParameter
)

Parameters

Name Type Description
parameter IParameter

An object implementing the IParameter 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
ParameterViewModel

A ParameterViewModel object.

See Also