It’s worth checking the technical specifications of any door sensor or alarm you intend to purchase.  Many of them have flexible designs that work with nearly any type of door or window, including sliding patio doors, double doors, or swing-out style windows.   There are also specialized entry sensors you can purchase to customize to your needs.