A newer version of this page is available.
Switch to the current version.
GridCustomCommandButton.Assign(CollectionItem) Method
Copies the settings from the specified item to the current object.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
public override void Assign(
CollectionItem source
)
Public Overrides Sub Assign(
source As CollectionItem
)
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
Feedback