BaseLayoutItemHitInfo.HitType Property
Gets the type of the layout item’s element located under the test point.
Namespace: DevExpress.XtraLayout.HitInfo
Assembly: DevExpress.XtraLayout.v18.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HitType property.
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.