Back to Devexpress

RowProperties.AssignTo(RowProperties) Method

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

latest2.6 KB
Original Source

RowProperties.AssignTo(RowProperties) Method

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

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
destinationRowRowProperties

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

BeginUpdate()

EndUpdate()

RowProperties Class

RowProperties Members

DevExpress.XtraVerticalGrid.Rows Namespace