Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseLayoutItemHitInfo.HitType Property

Gets the type of the layout item’s element located under the test point.

Namespace: DevExpress.XtraLayout.HitInfo

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public LayoutItemHitTest HitType { get; }

#Property Value

Type Description
LayoutItemHitTest

A LayoutItemHitTest value that specifies the type of the element located under the test point.

Available values:

Name Description
None

The test point does not belong to any visual element or is outside the LayoutControl.

Item

The test point belongs to a layout item, group or tabbed group.

TextArea

The test point belongs to a layout item’s text area.

ControlsArea

The test point belongs to a control which is located within a layout item.

HSizing

A layout item is being or about to be resized horizontally. See the BaseLayoutItemHitInfo.IsSizing topic.

VSizing

A layout item is being or about to be resized vertically. See the BaseLayoutItemHitInfo.IsSizing topic.

#Remarks

The HitType property identifies the element located under the test point. See the LayoutItemHitTest topic for a list of the available values.

See Also