OptionsBand.Assign(BaseOptions) Method
Copies all the settings from the options object passed as the parameter to the current options object.
Namespace: DevExpress.XtraGrid.Views.BandedGrid
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 only slightly different options for several bands. It enables you to set the options just once and then copy them to other bands.
Usually, you will use the Assign method to copy settings from one OptionsBand object to another. The parameter is the source object. The caller is the destination object.