public string GetText(int propIndex, int columnIndex)
{
string text;
text = null;
switch (propIndex)
{
case 0:
{
if (columnIndex == 0)
{
text = System.Convert.ToString(Position.X);
}
if (columnIndex == 1)
{
text = System.Convert.ToString(Position.Y);
}
}
break;
case 1:
text = System.Convert.ToString(Rotation);
break;
}
return text;
}