I have this kind
MidWest Dog Exercise Pens, Outdoor Dog Pens, Exercise Pens for Dogs.
It works great on vinyl, but not sure about tile. To keep Pixel from trying to climb out I put a tarp over it and attached with binder clips. It doesn't look all that pretty, but it has kept him in every day while I'm at work for about 7 months now lol