Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9135423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:49:20+00:00 2026-06-17T08:49:20+00:00

So how does it do that? Whether you are doing WinForm, WPF or ASP.NET,

  • 0

So how does it do that?

Whether you are doing WinForm, WPF or ASP.NET, you can drag any visual control from the toolbox to the design surface. You didn’t compile any code, didn’t instantiate the class related to the control, but you see that control there, displayed/rendered on the design surface.

What happens under the hood? How Visual Studio do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:49:21+00:00Added an answer on June 17, 2026 at 8:49 am

    Visual Studio will actually interpret your code on the fly and it will try to run the controls if they don’t have any Design-Time version specified. Each control can specify a Design Time control using Attributes. When such an attribute is present, instead of actually rendering the control itself, the design time version of the control is loaded.

    The whole process is rather intricate to answer in a simple Stack Overflow answer, but these documentation pages explain it pretty well:

    • http://msdn.microsoft.com/en-us/library/h51z5c0x.aspx
    • From MSDN Magazine by Michael Weinhardt and Chris Sells.
      April 2003 Building Windows Forms Controls and Components with Rich Design-Time Features
      May 2003 Building Windows Forms Controls and Components with Rich Design-Time Features, Part 2

    These MSDN back issues are now .chm help files. You will need to unblock them in the file’s property page to enable reading the contents after downloading.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know of a utility that can check whether a HTTP request/response is
Can any user run inline assembly for current linux kernel or does that require
I have a table name that starts with an underscore does that give any
Does anyone know if Expression Web (and Blend, for that matter) has any form
I'd like my controller to subscribe to notifications from view. However, before doing that,
I've seen a lot of php code that does the following to check whether
Does that title sound confusing? I thought it might well anyways. When I person
What does that mean? Getting this in the console during usage of my app
There are a few things that the custom grid does that you cannot do
xmpp is federated. does that mean that as long as i connected to one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.