I’m developing a custom control and need to get the control’s Top and Left style attributes while in VS IDE design mode. I can’t figure out how to get access to them (if it’s possible). I can get the width and height but not the top left. I can get the top left values during runtime with no problem using:
cTop = this.Style["TOP"];
cLeft = this.Style["LEFT"];
But during design time those style attributes are not accessible – arrrgh!
Any help would greatly be appreciated.
Michael McLain