Copies all settings from the options object passed as a parameter.
NuGet Package: DevExpress.Win.Grid
public override void Assign( BaseOptions options )
Public Overrides Sub Assign( options As 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 a number of Views.
Usually, you will use the Assign method to copy settings from one GridOptionsPrint object to another. The parameter is the source object. The caller is the destination object.
Note: the parameter can be any BaseOptions descendant. The Assign method copies only those properties that are common to both the source and destination objects. So you could copy a Banded Grid View’s print options to a Grid View. You will, of course, have to pass a BandedGridOptionsPrint object as the parameter.