LayoutViewHitInfo.LayoutItem Property
Gets a card layout item located under the test point.
Namespace: DevExpress.XtraGrid.Views.Layout.ViewInfo
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public BaseLayoutItem LayoutItem { get; set; }
#Property Value
Type | Description |
---|---|
Base |
A Base |
#Remarks
In addition to regular card fields, cards can display the following card layout items:
- groups (LayoutControlGroup);
- tabbed groups (TabbedControlGroup);
- separators (DevExpress.XtraLayout.SimpleSeparator);
- empty space items (EmptySpaceItem)
- static labels (SimpleLabelItem)
When the test point belongs to any of these card elements, you can use the LayoutItem property to access this element. When the test point belongs to a card field, or doesn’t belong to any card layout item, the LayoutItem property returns null. See the LayoutViewHitInfo.InLayoutItem property to check whether the test point belongs to a card layout item.