Skip to main content

LabelControlAppearanceObject.Assign(AppearanceObject) Method

Copies all settings from the appearance object passed as a parameter.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override void Assign(
    AppearanceObject val
)

Parameters

Name Type Description
val AppearanceObject

An AppearanceObject object or its descendant that represents the source of the operation.

Remarks

The Assign method copies the properties of the specified AppearanceObject object or its descendant to the current one. This allows you to have two appearance objects with identical settings. Note however that the values of the AppearanceObject.ParentAppearance and AppearanceObject.Options properties are not copied by this method.

See Also