Skip to main content

ToolbarItemBase.Assign(CollectionItem) Method

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

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

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