Skip to main content

LabelControlAppearanceObject.Combine(AppearanceObject[], AppearanceDefault) Method

Copies the activated appearance settings of objects passed as the first parameter to the current object; properties that aren’t activated are set to values specified by the second parameter

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public void Combine(
    AppearanceObject[] appearances,
    AppearanceDefault defaultAppearance
)

Parameters

Name Type Description
appearances AppearanceObject[]

An array of appearance objects that specifies the source of the operation.

defaultAppearance DevExpress.Utils.AppearanceDefault

An object that specifies the default appearance settings.

Remarks

The appearance settings are activated if their corresponding options are enabled. For instance, the AppearanceObject.BackColor setting is copied to the current object if the AppearanceOptions.UseBackColor option is set to true.

See Also