DialogViewModelBase.GetNestedViewModel<TChildViewModel>(Expression<Func<TChildViewModel>>, Func<TChildViewModel>) Method
In This Article
Returns the nested view model.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public TChildViewModel GetNestedViewModel<TChildViewModel>(
Expression<Func<TChildViewModel>> getter,
Func<TChildViewModel> createDelegate
)
where TChildViewModel : DialogViewModelBase
#Parameters
Name | Type | Description |
---|---|---|
getter | Expression<Func<TChild |
The expression. |
create |
Func<TChild |
A delegate method. |
#Type Parameters
Name | Description |
---|---|
TChild |
The type of the nested view model. |
#Returns
Type | Description |
---|---|
TChild |
The nested view model. |
See Also