Back to Devexpress

RowStyleEventArgs.CombineAppearance(AppearanceObject) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-rowstyleeventargs-dot-combineappearance-x28-devexpress-dot-utils-dot-appearanceobject-x29.md

latest2.6 KB
Original Source

RowStyleEventArgs.CombineAppearance(AppearanceObject) Method

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

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public void CombineAppearance(
    AppearanceObject appearance
)
vb
Public Sub CombineAppearance(
    appearance As AppearanceObject
)

Parameters

NameTypeDescription
appearanceAppearanceObject

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

Assign

Appearance and Conditional Formatting

RowStyleEventArgs Class

RowStyleEventArgs Members

DevExpress.XtraGrid.Views.Grid Namespace