TileView.Assign(BaseView, Boolean) Method

Clones all available settings from the target view to this TileView object.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v20.2.dll


public override void Assign(
    BaseView v,
    bool copyEvents
Public Overrides Sub Assign(
    v As BaseView,
    copyEvents As Boolean


Name Type Description
v BaseView

A BaseView object whose settings are to be copied.

copyEvents Boolean

true, if the Assign method should also copy the target view's event handlers; otherwise, false.



If you copy settings to a grid control's View before this grid's data source is initialized, certain column settings (e.g., GridColumn.UnboundExpression of unbound columns) do not automatically take effect. You can use one of following solutions to resolve the issue:

  • Set the target grid's data source after the Assign method is called.
  • Call the target View's View.DataController.RePopulateColumns method after the Assign method is called.

More details can be found in this support ticket.

See Also