• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

Attribute defaults class to code view - which one is it?

There's an attribute out there that causes a class to be opened in code view when it's double-clicked in VS.  I can't remember what it is.  Does anyone know it?
0
natejacobs
Asked:
natejacobs
  • 2
  • 2
1 Solution
 
Razzie_Commented:
Only thing I know that in options --> HTML Designer and Xml Designer you can select the default view for asp pages, html pages, etc. Looked in the VS.NET Help file to find the same for Windows Forms and such, but can't find it.
0
 
Bob LearnedCommented:
Are you talking about the DesignTimeVisible attribute?

Bob
0
 
natejacobsAuthor Commented:
I don't believe so.  I just looked it up and DesignTimeVisible  seems to control wether a component is visible in the component tray in VS.
0
 
Bob LearnedCommented:
Man, I forgot too:

System.ComponentModel.DesignerCategory("Code")

Bob
0
 
natejacobsAuthor Commented:
Thanks, Bob
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now