Print Page | Close Window

Remembering category expansion state

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=8463
Printed Date: 14 May 2024 at 2:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Remembering category expansion state
Posted By: andrewg
Subject: Remembering category expansion state
Date Posted: 18 October 2007 at 10:36am
Is there any way to remember the expansion states of the items in a property grid? That way when a user returns to the program at a later time the propertygrid will be in the same state as he left it (all expanded, all collapsed, some expanded, etc...)



Replies:
Posted By: Barto
Date Posted: 23 October 2007 at 5:20am
have you looked at CXTPPropertyGridUpdateContext? The implementation is protected, but maybe it can give you some ideas...


Posted By: andrewg
Date Posted: 23 October 2007 at 9:37am
Originally posted by Barto Barto wrote:

have you looked at CXTPPropertyGridUpdateContext? The implementation is protected, but maybe it can give you some ideas...


I ended up making my own XML read/write class. Similar to what the CXTPPropExchangeXMLNode does. Just in case anyone was curious..



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net