Skip to main content
Bar

BarOptions.Assign(BaseOptions) Method

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: 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 you need to have the same or very similar options for several bars. It enables you to set the options once and then copy them to a number of bars.

The method’s parameter is the source object. The caller is the destination object.

See Also