TreeListOptionsView.Assign(BaseOptions) Method
Copies all the settings from the options object passed as the parameter.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.2.dll
Declaration
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 just once and then copy them to other controls.
Usually, you will use the Assign method to copy settings from one TreeListOptionsView object to another. The parameter is the source object. The caller is the destination object.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Assign(BaseOptions) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.