Skip to main content
Tab

DialogViewModelBase.GetNestedViewModel<TChildViewModel>(Expression<Func<TChildViewModel>>) Method

Returns the nested view model.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public TChildViewModel GetNestedViewModel<TChildViewModel>(
    Expression<Func<TChildViewModel>> getter
)
    where TChildViewModel : DialogViewModelBase, new()

Parameters

Name Type Description
getter Expression<Func<TChildViewModel>>

The expression.

Type Parameters

Name Description
TChildViewModel

The type of the nested view model.

Returns

Type Description
TChildViewModel

The nested view model.

See Also