Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compatibility of property grid custom editors #21661

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

glopesdev
Copy link
Contributor

This PR allows the IServiceProvider implementation for property grid items to resolve GetService requests using the control Site, if specified. This is consistent with the original behavior on .NET Framework and is fundamental to enable advanced extensibility scenarios where custom editors require services from the application hosting the property grid.

Fixes #21660

@glopesdev glopesdev changed the title Use property grid site as service provider Improve compatibility of property grid custom editors May 31, 2023
@akoeplinger akoeplinger merged commit 7719479 into mono:main Jun 1, 2023
@glopesdev glopesdev deleted the issue-21660 branch June 1, 2023 22:00
ThomasKuehne pushed a commit to ThomasKuehne/mono that referenced this pull request Mar 23, 2024
…o#21661)

This PR allows the `IServiceProvider` implementation for property grid items to resolve `GetService` requests using the control `Site`, if specified. This is consistent with the original behavior on .NET Framework and is fundamental to enable advanced extensibility scenarios where custom editors require services from the application hosting the property grid.

Fixes mono#21660
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PropertyGrid does not use Site property when resolving calls to GetService
3 participants