CanMoveOutOfBounds works?

Good morning,

I've a TatDiagram with some TDiagramBlock inside.
I want to prevent they come outside my TatDiagram but it seems not working.
Any idea?

What do you mean by "outside" of the diagram? CanMoveOutOfBounds can just prevent the block from being hidden when you move it to top or left area.