Hi,
I have 2 PropertyGrid controls in my WinForm app. They are meant to compare two objects side by side, so what I want to do is to sync these as the user interacts with the UI. For example, if the user resizes the PropertyGrid or the GridSplitter next to the PropertyGridControl, I'd like the second PropertyGridControl to also resize. If the users selects a row in one of the PropertyGridControls (selects a path), the other PropertyGridControl gets selected too. Also if the scroll bar is moved inside one PropertyGridControl, the other will auto scroll to the same position. And if the one PropertyGrid's category expands/collapses other should also expand/collapse.
Do you have a suggestion on how to approach this?
Any examples are appreciated.
I have 2 PropertyGrid controls in my WinForm app. They are meant to compare two objects side by side, so what I want to do is to sync these as the user interacts with the UI. For example, if the user resizes the PropertyGrid or the GridSplitter next to the PropertyGridControl, I'd like the second PropertyGridControl to also resize. If the users selects a row in one of the PropertyGridControls (selects a path), the other PropertyGridControl gets selected too. Also if the scroll bar is moved inside one PropertyGridControl, the other will auto scroll to the same position. And if the one PropertyGrid's category expands/collapses other should also expand/collapse.
Do you have a suggestion on how to approach this?
Any examples are appreciated.