Skip to main content

TcxCustomSplitter.AllowHotZoneDrag Property

Specifies whether end-users can drag the splitter using its hot zone.

Declaration

property AllowHotZoneDrag: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

When a splitter is created it has no hot zone by default. End-users can only drag the splitter in order to resize the bound control. However, you can enable the hot zone by setting the HotZone property to an appropriate value. In this case, end-users can click the hot zone to show/hide the bound control.

By default, the AllowHotZoneDrag property value is True, which means that end-users can drag the splitter by its hot zone (i.e. use any part of the splitter’s area for dragging). However, you can disable this by setting the property to False. In this case, attempts to drag the splitter by the hot zone will have no effect.

Set the AllowHotZoneDrag property to False to provide standard button behavior for the hot zone. This standard behavior means that pressing the button will only have an effect if the button is released within the splitter’s client area. If the AllowHotZoneDrag property is True, such an action will result in moving the splitter.

Note

You can also handle the OnCanResize event to prohibit splitter dragging for particular conditions.

The default value of the AllowHotZoneDrag property is True.

See Also