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

ColumnViewOptionsView.Assign(BaseOptions) Method

Copies all the settings of the options object passed as this method’s parameter to the current object.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.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 the same or only slightly different options are required for several Views. It provides the ability to set the options only once and then copy them to a number of Views.

Usually, the Assign method of ColumnView descendants will be used to copy the settings from one options object to another. The parameter is the source object. The caller is the destination object.

See Also