This seems a tad bit more future-proof than manually checking all the valid right-side TextAlignment values in clients.