Back to Devexpress

BaseRow.AssignTo(BaseRow) Method

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-baserow-dot-assignto-x28-devexpress-dot-xtraverticalgrid-dot-rows-dot-baserow-x29.md

latest2.4 KB
Original Source

BaseRow.AssignTo(BaseRow) Method

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

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public void AssignTo(
    BaseRow destinationRow
)
vb
Public Sub AssignTo(
    destinationRow As BaseRow
)

Parameters

NameTypeDescription
destinationRowBaseRow

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

BeginUpdate()

EndUpdate()

BaseRow Class

BaseRow Members

DevExpress.XtraVerticalGrid.Rows Namespace