Skip to main content
Tab

GridCustomCommandButton.Assign(CollectionItem) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

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