When the Target version of the UWP project is Windows 1809, RadButton raises the following exception:
System.ArgumentException: Value does not fall within the expected range.
If you have set the HorizontalContentAlignment to some other value (End, Start) and you run the application in Release mode in UWP -> the value is reset to center.