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.v19.1.dll
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AddItemDifference(String, LayoutItemDifferenceType, Object) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.