how do you determine if a component is at design mode

  • Thread starter Thread starter PGP
  • Start date Start date
P

PGP

In the full framework, there is the Component.DesignMode property. What is
the alternative for compact framework?

TIA
Priyesh
 
In the full framework, there is the Component.DesignMode property. What is
the alternative for compact framework?

TIA
Priyesh

I do:
bool designMode;

if (this.Site == null)
{
designMode = false;
}
else
{
designMode = this.Site.DesignMode;
}
 

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