Endwall trim is employed when panels are installed against a perpendicular wall, ensuring a clean and secure finishing touch.