Skip to main content

TreeListOptionsBehavior.Assign(BaseOptions) Method

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

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 only slightly different options for several Tree Lists. It enables you to set the options only once and then copy them to other Tree Lists.

Usually, you will use the Assign method to copy settings from one TreeListOptionsBehavior object to another. The parameter is the source object. The caller is the destination object.

See Also