TreeListOptionsMenu.Assign(BaseOptions) Method

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll


public override void Assign(
    BaseOptions options
Public Overrides Sub Assign(
    options As BaseOptions


Name Type Description
options BaseOptions

A BaseOptions descendant whose settings are assigned to the current object.


The Assign method is useful if you need to have the same or only slightly different options across several Tree Lists. It enables you to set the options just once and then copy them to a number of other controls.

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

See Also