Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

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