Skip to main content

TdxLayoutSplitterItem.OnCanResize Event

Enables you to restrict a user’s capability to drag the splitter item to resize its associated layout element.

Declaration

property OnCanResize: TdxLayoutItemCanResizeEvent read; write;

Remarks

This event occurs before a drag operation changes the splitter item’s position. You can handle this event to snap the splitter to a specific position or forbid users to drag the splitter.

Refer to the TdxLayoutItemCanResizeEvent procedural type description for detailed information on all parameters accessible within an OnCanResize event handler.

Note

The OnCanResize event does not occur when the splitter item expands or collapses.

See Also