DialogViewModelBase.GetNestedViewModel<TChildViewModel>(Expression<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
)
where TChildViewModel : DialogViewModelBase, new()
#Parameters
Name | Type | Description |
---|---|---|
getter | Expression<Func<TChild |
The expression. |
#Type Parameters
Name | Description |
---|---|
TChild |
The type of the nested view model. |
#Returns
Type | Description |
---|---|
TChild |
The nested view model. |
See Also