The XAML parser is using TypeConverters in order to convert the strings to actual objects. In this case it converts string to the enumeration called HorizontalAlignment. If you need to set this in C# you should do the following:
win.HorizontalContentAlignment = HorizontalAlignment.Stretch;
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.