Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridOptionsBehavior.Assign(BaseOptions) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#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 vertical grid controls need to have the same or only slightly different options. It provides the ability to set the options only once and then copy them to other vertical grids.

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

See Also