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.v20.1.dll

Declaration

public static ParameterViewModel Create(
    IParameter parameter,
    IEnumerable<IParameter> sourceParameters,
    bool fixedParameter
)
Public Shared Function Create(
    parameter As IParameter,
    sourceParameters As IEnumerable(Of IParameter),
    fixedParameter As Boolean
) As ParameterViewModel

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