[WPF] Util: keep the original formatting