asp.net control design-time Support (5)

Source: Internet
Author: User

A. Designer

1. What is a designer, look at the image below

So no need to explain the concept, the designer is naturally help you to quickly complete the control of the basic editing, save time.

The designer is a form page, so if you want to make a designer, you need some form basics.

2. Principle of realization

(1) The designer can be said to be the extension of the property panel, in general, the designer will be the control of commonly used properties are listed to facilitate the setting

(2) The principle is the same as 3rd, when the designer is opened, the form gets the property value by inheriting the ControlDesigner class (assuming Samplecontroldesigner). It is important to return by setting the Samplecontroldesigner property and then updating the Control page markup through the Updatedesigntimehtml method.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.