Skip to main content

MVCxGridViewColumnLayoutItem.Assign(CollectionItem) Method

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public override void Assign(
    CollectionItem source
)

Parameters

Name Type Description
source CollectionItem

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

Remarks

Using this method allows you to have two objects with identical common properties.

If the source and destination objects are instances of different CollectionItem descendants, then the Assign method copies only the properties common to both descendants.

See Also