Customize the DataGrid control into a beautiful curriculum

Source: Internet
Author: User
Sample source code

In the past, we used the powerful functions of the system. Windows. Forms. DataGrid Control to create a curriculum control with strong functions. You can complete the WYSIWYG Course Arrangement function.

The coursetable class is a class that fully implements displaying a curriculum with different styles and styles. The hisoniccoursetable class is derived from coursetable and adds a curriculum class that supports the Intelligent Course Arrangement process. Coursetable draws the curriculum with the help of the other two classes. The first is the tablerowheadercolumn class, which is used to control the first two columns of information in each row of the curriculum; the second is the coursecommoncolumn class, which is used to implement normal curriculum information columns. You can control the background color of the entire curriculum, or the background color and foreground color of a cell. You can set the column width and Row Height.

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.