A newer version of this page is available. Switch to the current version.

GridLookupViewModel.Assign(GridBaseViewModel) Method

Copies the settings from the specified GridBaseViewModel object to the current object.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public override void Assign(
    GridBaseViewModel source
)
Public Overrides Sub Assign(
    source As GridBaseViewModel
)

Parameters

Name Type Description
source GridBaseViewModel

A GridBaseViewModel object whose settings are assigned to the current object.

Remarks

The Assign method copies properties of the GridBaseViewModel object passed as a parameter to the current object. This allows you to have two objects with identical common properties.

See Also