Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RowStyleEventArgs.CombineAppearance(AppearanceObject) Method

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

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.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