/// <summary>
        /// Initialise a new propertyform, customizing the supplied object.
        /// </summary>
        /// <param name="customisedObject"></param>
        public PropertyGridForm(object customisedObject)
        {
            InitializeComponent();

            this.CustomisedObject = customisedObject;
            propertyGrid.CollapseAllGridItems();
        }
Example #2
0
 private void Sample_Properties_Load(object sender, System.EventArgs e)
 {
     propGrid.CollapseAllGridItems();
 }