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

TdxZone.Direction Property

Returns the resizing direction.

#Declaration

Delphi
property Direction: TdxZoneDirection read;

#Property Value

Type
TdxZoneDirection

#Remarks

The Direction property is useful for resize zones only. It enables you to determine whether the zone can initiate horizontal or vertical resizing. If you use the resize zone as the parameter of events that control the resizing process, the Direction property indicates whether the width or height of the control is being changed.

The following values can be returned by the Direction property.

Value Description
zdUndefined This value is returned by zones that cannot initiate control resizing.
zdVertical This value is returned by zones located at the top or bottom edge of the control. It indicates that this zone can initiate vertical resizing. In other words, the height of the control will change when resizing. When the mouse pointer is over a zone that returns this value, it displays a horizontal splitter.
zdHorizontal This value is returned by zones located at the left or right edge of the control. It indicates that this zone can initiate horizontal resizing. In other words, the width of the control will change when resizing. When the mouse pointer is over a zone that returns this value, it displays a vertical splitter.
See Also