LayoutViewCustomCardLayoutEventArgs.CardDifferences Property
Gets or sets an object that summarizes all difference records for the current card, which specify how the layout settings of the card fields differ from the default settings.
Namespace: DevExpress.XtraGrid.Views.Layout.Events
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
LayoutViewCardDifferences | A LayoutViewCardDifferences object. |
Remarks
The CardDifferences parameter of the LayoutView.CustomCardLayout event summarizes all differences in the layout for the current card, as compared with the default card layout. To change the current card’s layout, add a new difference record via the CardDifferences object. This can be accomplished via the LayoutViewCardDifferences.AddItemDifference method.
You can access all difference records for a specific card element via the indexer, provided by the CardDifferences object (LayoutViewCardDifferences.Item).
To clear difference records for a specific card element, use the LayoutViewCardDifferences.RemoveItemDifference or LayoutViewCardDifferences.RemoveItemDifferences method.