add ToString() method to MBS.Framework.Drawing.Padding

This commit is contained in:
Michael Becker 2021-01-09 22:22:28 -05:00
parent 9f5ce2d484
commit bdecbd93ce
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

View File

@ -78,5 +78,10 @@ namespace MBS.Framework.Drawing
mvarTop = top; mvarTop = top;
_IsNotEmpty = true; _IsNotEmpty = true;
} }
public override string ToString()
{
return String.Format("(top: {0}, bottom: {1}, left: {2}, right: {3})", Top, Bottom, Left, Right);
}
} }
} }