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

GridViewModel.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


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


Name Type Description
source GridBaseViewModel

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


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