I’ve created a control that have some properties i am trying to add the properties to the Property Grid, Also how to choose the Control that edits the property’s value in the property grid
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
You add propery’s to the designer by using attributes from System.ComponentModel.CategoryAttribute which is found in the System.ComponentModel Namespace.
This will put your property in the Layout Category of your Property grid with a description of “Your Description Here” with a DefaultValue of true . If you do not assign a Category your Property will be assigned to the Misc. Category by default if your are in category view.