I have a class with two Properties like HasSubMenu, and SubMenu , object of this class is bound to property grid. The class is given below.
Expand|Select|Wrap|Line Numbers
- class test
- {
- private bool m_HasSubMenu;
- private string m_SubMenu;
- [Browsable(true)]
- public bool HasSubMenu
- {
- get { return m_HasSubMenu; }
- set { m_HasSubMenu = value; }
- }
- [Browsable(true)]
- [ReadOnly(true)]
- public List<Menu> SubMenu
- {
- get { return m_SubMenu; }
- set { m_SubMenu = value; }
- }
- }
I am not able to figure out how should I do this. Any help will be highly appreciated
Thanks and Regrads