Skip to main content

RowProperties.AssignTo(RowProperties) Method

Copies the current row‘s settings to the specified row item.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

Declaration

public void AssignTo(
    RowProperties destinationRow
)

Parameters

Name Type Description
destinationRow RowProperties

A RowProperties object or a descendant, representing the row item into which the settings are copied.

Remarks

The AssignTo method is used to copy the current row item’s public settings to the specified row item. This method is called automatically when copying row settings using the BaseRow.AssignTo method. This makes it possible to have several row items 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