HitInfoType Enum

Lists values that identify the different elements of the Tree List control.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public enum HitInfoType
Public Enum HitInfoType

Members

Name Description
None

A point is outside the Tree List control.

Empty

A point is over the empty area.

ColumnButton

A point is over the column button.

BehindColumn

A point is over the blank column header.

Column

A point is over a column header.

ColumnEdge

A point is over a column edge.

RowIndicator

A point is over a node indicator cell.

RowIndicatorEdge

A point is on a row indicator's edge.

RowIndent

A point is over an area that separates a row from its corresponding indicator cell. This value is returned only when the TreeListOptionsView.ShowIndentAsRowStyle option is enabled. Otherwise, an Empty value is returned when a point is over this area.

Row

A point is over a node area not occupied by any of the node's elements.

RowPreview

A point is over a preview section.

RowFooter

A point is over a row (group) footer.

Cell

A point is over a cell.

Button

A point is over an expand button.

StateImage

A point is over a node's state image.

SelectImage

A point is over a node's select image.

SummaryFooter

A point is over the summary footer.

CustomizationForm

A point is over the Customization Form.

VScrollBar

The test point belongs to the Tree List's vertical scroll bar.

HScrollBar

The test point belongs to the Tree List's horizontal scroll bar.

FixedLeftDiv

The test point belongs to the left fixed line.

FixedRightDiv

The test point belongs to the right fixed line.

NodeCheckBox

The test point belongs to a node's check box.

AutoFilterRow

A point is over the Automatic Filtering Row.

FilterPanel

A point is over the Filter Panel.

FilterPanelCloseButton

A point is over the Close Filter Button in the Filter Panel.

FilterPanelActiveButton

A point is over the check box displayed within in the Filter Panel and used to enable/disable the filter.

FilterPanelText

A point is over the filter string displayed within the Filter Panel.

FilterPanelMRUButton

A point is over the MRU Filter Button in the Filter Panel.

FilterPanelCustomizeButton

A point is over the 'Edit Filter' button displayed within the Filter Panel and used to invoke the Filter Editor.

ColumnFilterButton

A point is over a Filter Button.

ColumnPanel

A point is over a column header panel's area not occupied by a column header, blank column header, filter button, column button, or a column edge.

Band

A point is over a band header.

BandPanel

A point is over the band panel.

BandButton

A point is over the band button.

BandEdge

A point is over a band edge.

Caption

A point is over the Caption Panel.

Separator

A point is over a column separator.

Related API Members

The following properties accept/return HitInfoType values:

Remarks

The Tree List control enables you to identify an element located under a specified point. You must use the TreeList.CalcHitInfo method for this purpose. This method needs a point as its parameter and returns a TreeListHitInfo object. You can use the TreeListHitInfo.HitInfoType property of the obtained object to get the type of element residing under the test point. This property returns one of the listed HitInfoType enumeration values.

The image below illustrates a number of elements and enumeration values that correspond to them.

HitInfo - Elements

See Also