Solved

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

Posted on 2004-10-06
5
267 Views
Last Modified: 2010-04-15
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
Comment
Question by:natejacobs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:Razzie_
ID: 12241512
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 12242131
Are you talking about the DesignTimeVisible attribute?

Bob
0
 
LVL 3

Author Comment

by:natejacobs
ID: 12242463
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
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 12242512
Man, I forgot too:

System.ComponentModel.DesignerCategory("Code")

Bob
0
 
LVL 3

Author Comment

by:natejacobs
ID: 12242518
Thanks, Bob
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question