Skip to main content

AppearanceOptionsEx.Assign(BaseOptions) Method

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

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 the same or only slightly different options are needed for several AppearanceObjectEx objects. It enables you to set the options only once and then copy them to a number of appearances.

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

See Also