You are currently offline, waiting for your internet to reconnect

How to create a Windows Forms design time custom property tab

INTRODUCTION
This article describes an All-In-One Code Framework sample that is available for download. This code sample demonstrates how to create a Windows Forms design time custom property tab for a property by using Visual C# and Visual Basic.NET.

Difficulty level

Download information

To download this code sample, click the following link:

  

Technical overview

This sample shows how to create a Windows Forms design time custom property tab for a property that has an API under the System.Windows.Forms.PropertyGridInternal namespace. After you build the sample, you see a custom user control that is named "UC_CustomPropertyTab" in the Microsoft Visual Studio toolbox. When you drag the control onto the test form, the custom property tab appears in the Properties window of Visual Studio. To do this, follow these steps:
  1. Drag the control from the Visual Studio toolbox onto the test form.
  2. The design time custom property tab appears in the Properties window of Visual Studio.
  3. Select the custom property tab icon (red “C”) to see the TestProp property.
Note For more information about how to create and to deploy the sample application, refer to the Readme.txt file that is included in the download package.

Technology category

  • Windows Forms Designer

Languages

This code sample contains the following programming languages:
LanguageProject Name
Visual C#CSWinFormCustomPropertyTab
Visual Basic .NETVBWinFormCustomPropertyTab

Prerequisites

  • This sample application was created by using Visual Studio 2008 Service Pack 1.

Tags

  • Windows Forms Custom Property Tab
MORE INFORMATION

What is All-In-One Code Framework?

All-In-One Code Framework shows most Microsoft development techniques by using code samples in different programming languages. Each example is carefully selected, composed, and documented to show one common code scenario. For more information about All-In-One Code Framework, visit the following Web site:
http://cfx.codeplex.com

How to find more All-In-One Code Framework samples

To find more All-In-One Code Framework samples, you can search for kbcodefx together with related keywords on support.microsoft.com. Or, you can simply click the following link:
http://support.microsoft.com/search/default.aspx?query=kbcodefx
Rapid publishing disclaimer
Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.
Properties

Article ID: 982545 - Last Review: 04/29/2010 09:36:11 - Revision: 1.0

  • Microsoft Visual Studio 2008 Service Pack 1
  • kbsurveynew kbinfo kbnomt kbrapidpub kbcodefx atdownload KB982545
Feedback