GridOptionsSelection.Assign(BaseOptions) Method
In This Article
Copies all settings from the options object passed as a parameter.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public override void Assign(
BaseOptions options
)
#Parameters
Name | Type | Description |
---|---|---|
options | Base |
A Base |
#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 once and then copy them to a number of Views.
Usually, you will use the Assign method to copy settings from one GridOptionsSelection object to another. The parameter is the source object. The caller is the destination object.
See Also