public string Convert(object value) { if(value == null) return "Null"; Rectangle v = (Rectangle)value; if(v == null) return "Null"; return string.Format("{0} , {1} , {2}, {3}", v.X, v.Y, v.Width, v.Height); }