Skip to main content
A newer version of this page is available. .

BandedGridOptionsCustomization.Assign(BaseOptions) Method

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

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public override void Assign(
    BaseOptions options
)

Parameters

Name Type Description
options BaseOptions

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

Remarks

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 necessary and then copy them to other Views.

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

Note: the parameter can be any BaseOptions descendant. The Assign method copies only those properties that are common to both source and destination objects. So you could copy a banded View’s customization options to an Advanced Banded Grid View. You will have to pass a BandedGridOptionsCustomization object as the parameter.

See Also