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

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.v24.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