Skip to main content
A newer version of this page is available. .

LayoutItemHitTest Enum

Lists the values that identify the Layout Control’s visual elements.

Namespace: DevExpress.XtraLayout.HitInfo

Assembly: DevExpress.XtraLayout.v18.1.dll

Declaration

public enum LayoutItemHitTest

Members

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.

Related API Members

The following properties accept/return LayoutItemHitTest values:

Remarks

LayoutItemHitTest enumeration values are returned by the BaseLayoutItemHitInfo.HitType property of a HitInfo object. HitInfo objects can be created by calling the LayoutControl.CalcHitInfo method or via the HitInfo parameter of the LayoutControl.PopupMenuShowing event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LayoutItemHitTest enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also