dotnet / dotnet/winforms

How to use ImageEditor, BitmapEditor, and MetafileEditor in the imagecollectioneditor using Client-Server Approach for .NETCore

Open
#13,178 3 comments 0 reactions 1 assignee Claimed by @KlausLoeffelmann View on GitHub
area-VSDesigner
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### Environment

Visual Studio professional 2022 - version 17.13.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

Previously, you mentioned using the client-server approach to make the CollectionEditor work in .NET Core. I implemented this approach, and the CollectionEditor is working properly.

Previous_link : https://github.com/dotnet/winforms/issues/10549

However, in our case, the ImageEditor, BitmapEditor, and MetafileEditor are used in the ImageCollectionEditor. In .NET Framework, the CollectionEditor works without any errors. But when I use ImageEditor, BitmapEditor, and MetafileEditor in our ImageCollectionEditor with the client-server approach in netcore, an error occurs because these editors are not available in the Microsoft.WinForms.Designer.SDK package.

![Image](https://github.com/user-attachments/assets/33cf3a29-f01a-4a5e-8299-310155ce075e)

Is there a way to access ImageEditor, BitmapEditor, and MetafileEditor for my imageCollectionEditor? If not, is there an alternative approach to implement these editors?

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

sample_link : [ImageCollection-Net9.zip](https://github.com/user-attachments/files/18880737/ImageCollection-Net9.zip)

### Steps to reproduce

Steps to reproduce
1.Open the sample.

Observed Behavior
ImageEditor, BitmapEditor, and MetafileEditor is not available in the Microsoft.WinForms.Designer.SDK package.

Expected Behavior
Need to use the ImageEditor, BitmapEditor, and MetafileEditor in the Server Library.

### Diagnostics

```text

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.