Skip to content

TypeConverter Attribute over DataGridViewColumn.DataPropertyName should resolve to System.Design #2171

@zsd4yr

Description

@zsd4yr

[
Browsable(true),
DefaultValue(""),
TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, " + AssemblyRef.SystemWinformsDesign),
Editor("System.Windows.Forms.Design.DataGridViewColumnDataPropertyNameEditor, " + AssemblyRef.SystemDesign, typeof(Drawing.Design.UITypeEditor)),
SRDescription(nameof(SR.DataGridView_ColumnDataPropertyNameDescr)),
SRCategory(nameof(SR.CatData))
]
public string DataPropertyName

This attribute was changed to resolve to the new assembly of this type in #1545 but as pointed out in #2078 (comment) this is not the approach we should take.

For a fix, we need to:

  • change the AssembleRef back to SystemDesign
  • manually add a TypeForwardTo for this internal type
  • test

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions