Skip to main content

GridBaseViewModel.Assign(GridBaseViewModel) Method

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public virtual void Assign(
    GridBaseViewModel source
)

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