DisplayRectangle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am attempting to create a custom control and I have overriden the
DisplayRectangle property, but it does not seem to be working. The controls
are still able to be moved past the area returned. I have inherited the
control from System.Windows.Forms.Control, and I have also created a
ParentControlDesigner for it. Is there something else I am missing here??

Thanks in advance :)
 
Sorry, no, I do mean the DisplayRectangle. Its not possible to override the
ClientRectangle property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top