Skip to main content
All docs
V26.1
  • Tab

    GridViewToolbarItem.Assign(CollectionItem) Method

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

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v26.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