Skip to main content
A newer version of this page is available. .

GridSummaryItem.Assign(GridSummaryItem) Method

Copies settings from the summary item object specified as the parameter.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public virtual void Assign(
    GridSummaryItem source
)

Parameters

Name Type Description
source GridSummaryItem

A GridSummaryItem object whose settings should be copied to the current object.

Remarks

Use the Assign method when you need to have several summary items with the same or slightly different settings. It enables you to customize an individual summary item’s settings and then copy them to other summary item objects.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Assign(GridSummaryItem) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also