public void AppendSegment(string text, Color color) { var msgSeg = new MessageSegment { Text = text, TextColor = color }; Segments.Add(msgSeg); }