Skip to content

How to use CollectionForm inside CustomCollectionEditor derived from CollectionEditor using Client-Server Approach for .NET 8.0 #13167

Closed
@ChidanandMurugaiah

Description

@ChidanandMurugaiah

Environment

Visual Studio professional 2022 - version 17.12.0

.NET version

.NET 8

Microsoft.Winforms.Designer.SDK version - 1.6.0

Did this work in a previous version of Visual Studio and/or previous .NET release?

No

Issue description

I am using a CustomCollectionEditor derived from CollectionEditor. Within my CustomCollectionEditor, I need to utilize CollectionForm. However, in .NET Core, the CollectionEditor provided by the Microsoft.WinForms.Designer.SDK package does not expose CollectionForm, making it unavailable for use.

Image

Is there a way to access CollectionForm for my CustomCollectionEditor? If not, is there an alternative approach to implement CollectionForm?

I have attached a simple Client-Server approach sample. Kindly provide me suggestions to resolve this issue.

Sample Link - CustomControl.zip

Steps to reproduce

1.Open the sample.

Observed Behavior
CollectionForm is not available in the CollectionEditor implemented in Server library.

Expected Behavior
Need to use the CollectionForm inside the CollectionEditor implemented in Server Library.

Diagnostics


Metadata

Metadata

Assignees

No one assigned

    Labels

    area-VSDesignerWindows Forms out-of-proc designer related issueswaiting-author-feedbackThe team requires more information from the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions