Solved

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

Posted on 2004-10-06
5
259 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
  • 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Device Location 4 29
Coding C# in Linux 8 62
compare between entities in entity framework 8 70
Expression Evaluater 3 24
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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

776 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