Skip to content

Commit 76cffa1

Browse files
authored
2490-V100-KryptonComboBox-uses-incorrect-item-editor-string (#2491)
- Correct OnPaletteNeedPaint calls wrong base - Correct Items property Editor string - And the changelog
1 parent 41cdb9a commit 76cffa1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Documents/Changelog/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
====
44

55
## 2025-11-xx - Build 2511 (V10 - alpha) - November 2025
6+
* Resolved [#2490](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2490), `KryptonComboBox` uses an incorrect Items editor string.
67
* Resolved [#2487](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2487), `PaletteBase.PalettePaint` event is not synchronized toward the user.
78
* Implemented [#2446](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2446), Add `build.yml` to `.github/workflows`.
89
* Implemented [#1376](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1376), **[Breaking Change]** `KryptonTaskDialog` has had a full overhaul. Please refer to the ticket for full details, status and code sample to get started.

Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonComboBox.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ public bool Sorted
18301830
/// </summary>
18311831
[Category(@"Data")]
18321832
[Description(@"The items in the KryptonComboBox.")]
1833-
[Editor(@"System.Windows.Forms.Design.ListControlStringCollectionEditor", typeof(UITypeEditor))]
1833+
[Editor("System.Windows.Forms.Design.ListControlStringCollectionEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
18341834
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
18351835
[MergableProperty(false)]
18361836
[Localizable(true)]
@@ -2762,7 +2762,7 @@ protected override void OnPaletteChanged(EventArgs e)
27622762
/// <param name="e">An NeedLayoutEventArgs containing event data.</param>
27632763
protected override void OnPaletteNeedPaint(object? sender, NeedLayoutEventArgs e)
27642764
{
2765-
base.OnPaletteChanged(e);
2765+
base.OnPaletteNeedPaint(sender, e);
27662766
_comboBox.Invalidate();
27672767
}
27682768

0 commit comments

Comments
 (0)