Unwrap WPF class name pattern