CardView.Assign(BaseView, Boolean) Method
Copies property values and, optionally, event handlers from the View specified as a parameter.
Namespace: DevExpress.XtraGrid.Views.Card
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
v | Base |
A Base |
copy |
Boolean | true to copy event handlers; otherwise, false. |
#Remarks
Note that the target View is reset before copying. This means that the target View’s column collection, format conditions collection and others are cleared before synchronizing the Views’ settings.
Note
If you copy settings to a grid control’s View before this grid’s data source is initialized, certain column settings (e.
- Set the target grid’s data source after the Assign method is called.
- Call the target View’s View.
Data Controller. Re Populate Columns method after the Assign method is called.
More details can be found in this support ticket.