Skip to content
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

[Bug]: Exception at design time When Assigning CustomPalette to PropertyGrid / TreeGrid #1322

Closed
tobitege opened this issue Feb 7, 2024 · 3 comments
Labels
area:designer All issues related to the designer. area:themes All things to do with themes. bug Something isn't working completed This issue has been completed.
Milestone

Comments

@tobitege
Copy link

tobitege commented Feb 7, 2024

Exception during design time

"Specified argument was out of the range of valid values.
Parameter name: ContextNormal
"

grafik

To Reproduce

  • Added to the TestForm -> TreeView example form a KryptonCustomPaletteBase (customPalette) as well as a KryptonManager component.
  • No changes done to either components yet.
  • In properties of the manager switched the "GlobalCustomPalette" to "customPalette" and the exception occured.
  • The GlobalPaletteMode was still default of "Microsoft 365 - Blue" at that time.
  • Also tried switching the latter to "Custom" and then GlobalCustomPalette to the new palette component, but again an exception:

Expected behavior
No exceptions if possible. :)

Screenshots
grafik

Desktop (please complete the following information):

  • OS: Windows 11 (German)
  • Version: 23H2 with all current updates
  • Framework/.NET Version: 4.8
  • Toolkit Version: latest alpha
@tobitege tobitege added the bug Something isn't working label Feb 7, 2024
@Smurf-IV Smurf-IV added area:themes All things to do with themes. area:designer All issues related to the designer. labels Feb 24, 2024
@Smurf-IV Smurf-IV self-assigned this Feb 24, 2024
@Smurf-IV Smurf-IV added the under investigation This bug/issue is currently under investigation. label Feb 24, 2024
@Smurf-IV Smurf-IV added this to the Version 90 milestone Feb 24, 2024
@Smurf-IV
Copy link
Member

Done - PR coming soon
image

@Smurf-IV Smurf-IV changed the title [Bug]: Exception at design time (VS2022) [Bug]: Exception at design time When Assigning CustomPalette to PropertyGrid / TreeGrid Feb 24, 2024
@Smurf-IV Smurf-IV removed their assignment Feb 24, 2024
@Smurf-IV Smurf-IV added completed This issue has been completed. and removed under investigation This bug/issue is currently under investigation. labels Feb 24, 2024
@Smurf-IV
Copy link
Member

@tobitege Thanks for the clear repro steps, made it easier to track this down (With Dual VS 17.10 p1#s running ;-))

@tobitege
Copy link
Author

@tobitege Thanks for the clear repro steps, made it easier to track this down (With Dual VS 17.10 p1#s running ;-))

Happy to have helped! Thanks for working on this, appreciated a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:designer All issues related to the designer. area:themes All things to do with themes. bug Something isn't working completed This issue has been completed.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants