Skip to main content

LayoutViewCardDifferences.AddItemDifference(String, LayoutItemDifferenceType, Object) Method

Adds a difference record, identifying how a layout item’s (card field’s) settings differ from the default settings.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

public void AddItemDifference(
    string itemName,
    LayoutItemDifferenceType type,
    object value
)

Parameters

Name Type Description
itemName String

A string that identifies the layout item (card field).

type LayoutItemDifferenceType

A LayoutItemDifferenceType value that specifies the setting to be changed

value Object

A new value for the setting.

Remarks

The itemName parameter specifies a card field’s name (the name of a corresponding LayoutViewField object). Groups, tabbed groups, separators, etc are also identified by names.

See Also