Expander Header removing “_” character
问题 I'm binding the Expander.Header property in XAML to a backing public property of string type in my ViewModel using the MVVM pattern: public string EnumName {...} I'm setting this property to "X_Y_Z" but for some strange reason the Expander Header is removing the first underscore character and it is displayed as XY_Z. I tried adding a "\" before or setting it to @"X_Y_Z" but no luck. Here my XAML binding portion: <Expander IsExpanded="true" Header="{Binding EnumName}"> Anybody know why I'm