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