Skip to main content

RowCellStyleEventArgs.CombineAppearance(AppearanceObject) Method

Copies the activated settings of the appearance object passed as the parameter.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public void CombineAppearance(
    AppearanceObject appearance
)

Parameters

Name Type Description
appearance AppearanceObject

An AppearanceObject object that represents the source of the operation.

Remarks

The Combine method copies only the activated appearance settings of the specified AppearanceObject object to the current one. The appearance settings are activated if their corresponding options are enabled. For example, the AppearanceObject.BackColor property is used if the AppearanceOptions.UseBackColor option is set to true.

To copy all the settings (active and inactive), use the AppearanceObject object’s AppearanceObject.Assign method.

For more information on appearances, see the Appearance and Conditional Formatting document.

See Also