Posted 14 years ago
by jeff jarrell
Version: 10.1.0520
Platform: .NET 3.5
Environment: Windows XP (32-bit)
We have developed a number of PropertyGridEditors that use the popupButton.PopupContent. This works well when the propertyGrid is used normally. When these PropertyGridEditors are used from a normal property grid, they autoclose nicely as focus moves away or user clicks to something else.
If we put the PropertyGrid inside a PopupButton.PopupContent then the PropertyGridEditors.Popup windows don't close automatically. They stay open until they are closed explicity.
We do this because we are using PopupButton like a VS SmartTag. From there we popup the PropertyGrid with just a few properties. Conceptually, it looks good but the autoclose makes it hard to use.
I do have a sample project that illustrates the problem.
Ideas?
Thanks.
jeff
If we put the PropertyGrid inside a PopupButton.PopupContent then the PropertyGridEditors.Popup windows don't close automatically. They stay open until they are closed explicity.
We do this because we are using PopupButton like a VS SmartTag. From there we popup the PropertyGrid with just a few properties. Conceptually, it looks good but the autoclose makes it hard to use.
I do have a sample project that illustrates the problem.
Ideas?
Thanks.
jeff