Skip to main content

OptionsColumn.Assign(BaseOptions) Method

Copies all the settings from the options object passed as the parameter to the current object.

Namespace: DevExpress.XtraGrid.Columns

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 several columns need to have the same or only slightly different options. It enables the options to be set only once and then copied to any number of columns. The parameter is the source object. The caller is the destination object.

See Also