LayoutViewHitInfo.HitTest Property
Gets a value identifying the type of visual element 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 LayoutViewHitTest HitTest { get; set; }
#Property Value
Type | Description |
---|---|
Layout |
A Layout |
Available values:
Name | Description |
---|---|
None | The test point is outside a View. |
Bounds | The test point belongs to a View’s border or scroll bar. |
Client |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Header |
The test point belongs to a View’s header panel. |
Footer |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Cards |
The test point belongs to a View’s empty area not occupied by cards. |
View |
The test point belongs to a View’s caption. |
Card | The test point belongs to a card‘s client area not occupied by field captions and values. |
Card |
The test point belongs to a card’s caption. |
Card |
The test point belongs to the expand button that resides within the card caption and is used to expand/collapse the card. |
Field | The test point belongs to a card field‘s area not occupied by the field’s caption and value. |
Field |
The test point belongs to a card field’s caption. |
Field |
The test point belongs to a card field’s value box. |
Field |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Field |
The test point belongs to the Field Sort Button. |
Field |
The test point belongs to a Field Filter Button. |
Layout |
The test point belongs to a card layout item (a group, tabbed group, separator, label or empty space item). See Layout |
Single |
The test point belongs to the “One Card” button within the header panel that applies the single card display mode to the View. |
Row |
The test point belongs to the “One Row” button within the header panel that applies the single row display mode to the View. |
Column |
The test point belongs to the “One Column” button within the header panel that applies the single column display mode to the View. |
Multi |
The test point belongs to the “Multiple Rows” button within the header panel that applies the corresponding display mode to the View. |
Multi |
The test point belongs to the “Multiple Columns” button within the header panel that applies the corresponding display mode to the View. |
Carousel |
The test point belongs to the “Carousel View” button within the header panel that applies the corresponding display mode to the View. |
Pan |
The test point belongs to the pan button within the header panel that invokes the card panning feature. |
Customize |
The test point belongs to the “Customize” button within the header panel. |
Close |
The test point belongs to a View’s zoom button. |
Filter |
The test point belongs to a View’s filter panel. |
Filter |
The test point belongs to a filter panel close button. |
Filter |
The test point belongs to the check box in the filter panel used to enable/disable filtering within a View. |
Filter |
The test point belongs to a string in the filter panel which represents the filter criteria applied to a View. |
Filter |
The test point belongs to a button in the filter panel used to display a dropdown window with a list of the most recently used filter criteria. |
Filter |
The test point belongs to a filter panel customize button. |
Master |
The test point belongs to the View’s master-detail tab. |
#Remarks
The bounds of the object identified by the HitTest property are specified by the LayoutViewHitInfo.HitRect property.