CardOptionsBehavior.Assign(BaseOptions) Method

Copies all settings from the options object passed as a parameter.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v21.2.dll


public override void Assign(
    BaseOptions options


Name Type Description
options BaseOptions

A BaseOptions descendant whose settings are assigned to the current object.


The Assign method is useful if you need to have the same or slightly different options in several Views. It enables you to set the options once and then copy them to other view(s).

Usually, you will use the Assign method to copy settings from one CardOptionsBehavior object to another. The parameter is the source object. The caller is the destination object.

See Also