Skip to main content

BaseRow.AssignTo(BaseRow) Method

Copies the current row’s settings to the row specified.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public void AssignTo(
    BaseRow destinationRow
)

Parameters

Name Type Description
destinationRow BaseRow

A BaseRow object or descendant that represents the row object into which settings are copied.

Remarks

The AssignTo method is used to copy the current row’s public settings to the row specified. Note that the method calls the RowProperties.AssignTo method to copy row item settings as well. This makes it possible to have several row objects with the same behavior and appearance.

Note that the AssignTo method calls the VGridControlBase.BeginUpdate and VGridControlBase.EndUpdate methods before and after copying settings. Thus, you don’t need to call them manually.

Descendant classes override this method to implement proper assignment.

See Also