-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ComponentDesigner - InitializeNewComponent/InitializeExistingComponent issues #1395
Comments
@merriemcgaw @RussKie Any updates on this? |
Sorry for the delay @MrB0nd . We're looking at the issue, and I think we're going to be able to address it in 3.1 by porting the remaining pieces of ComponentDesigner class to Core. We're unfortunately a bit overloaded to be certain we can get this in 3.0, but we expect that 3.1 is likely. |
@MrB0nd can you tell us a bit more about the customer scenario here? If we know what you're trying to enable here we may have better guidance for you. |
@merriemcgaw We would like to have consistent behavior of our component, regardless of whether it is .NET Core 3 or .NET Framework. |
Investigating for 6.0 |
The ported functionality will be available in .NET 6.0 Preview5. Please raise new issues for any further missing functionality. The sooner we know the higher change we get it addressed before .NET 6.0 GA. |
Verified this issue with .NET 6.0.100-preview.5.21276.15 from Release/6.0.1XX-preview5 branch of https://github.com/dotnet/installer, it is fixed, now those two methods InitializeNewComponent/InitializeExistingComponent have been implemented in Core. |
I have a question about the InitializeNewComponent and InitializeExistingComponent methods of the ComponentDesigner class.
In .NET Framework, the InitializeNewComponent method implementation contains some code related to DesignerActionUIService. Also InitializeNewComponent calls the OnSetComponentDefaults method that sets the value of the DefaultProperty for the component. InitializeExistingComponent calls the InitializeNonDefault method that does nothing.
In .NET Core InitializeNewComponent calls the InitializeNonDefault method. InitializeExistingComponent throws NotImplementedException.
So, my questions are:
The text was updated successfully, but these errors were encountered: