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

[Feature Request]: KryptonDateTimePicker's monthcalendar with custom background color #1827

Open
AttilaPazmandi opened this issue Oct 24, 2024 · 3 comments
Labels
area:toolkit All issues related to the toolkit components. new feature A new feature has been requested. suggestion A suggestion has been requested. version:100 All things to do with V100.
Milestone

Comments

@AttilaPazmandi
Copy link

AttilaPazmandi commented Oct 24, 2024

Is your feature request related to a problem? Please describe.
I do not know as of now. I checked the documentation and even the source but I was not able to find a working solution.

Describe the solution you'd like
The KryptonDateTimePicker should have a property to change its MonthCalendar's background color. Currently only top/bottom rows can be styled.

Describe alternatives you've considered
As mentioned above, I think currently this is not supported. When I apply a dark(ish) theme to the controls, it would be great if this MonthCalendar would take those parameters too.

Additional context
I guess it is quite self-explanatory what I'd like to achieve, but if not please just let me know.
I checked many thing before and I am aware of Microsoft's DateTimePicker limitation. As I see KryptonContextMenuMonthCalendar does not inherit DateTimePicker, so it might be possible?

@AttilaPazmandi AttilaPazmandi added enhancement New feature or request new feature A new feature has been requested. suggestion A suggestion has been requested. labels Oct 24, 2024
@PWagner1 PWagner1 transferred this issue from Krypton-Suite/Extended-Toolkit Oct 24, 2024
@PWagner1 PWagner1 added area:toolkit All issues related to the toolkit components. version:100 All things to do with V100. labels Oct 24, 2024
@PWagner1 PWagner1 added this to the Version 100 milestone Oct 24, 2024
@giduac giduac added answered This question has been adequately answered. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. question Further information is requested new feature A new feature has been requested. suggestion A suggestion has been requested. version:100 All things to do with V100. and removed enhancement New feature or request new feature A new feature has been requested. version:100 All things to do with V100. suggestion A suggestion has been requested. question Further information is requested answered This question has been adequately answered. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. labels Oct 24, 2024
@PWagner1
Copy link
Contributor

Hi @AttilaPazmandi

Have you tried setting the ControlBackStyle to Control - Custom 1, then change StateCommon -> Back -> Color#?

@PWagner1 PWagner1 added the awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. label Oct 24, 2024
@AttilaPazmandi
Copy link
Author

Hi @PWagner1
Thank you for your feedback.
As I see, ControlBackStyle is a property of KryptonMonthCalendar (and KryptonBreadCrumb) but here the KryptonDateTimePicker has KryptonContextMenuMonthCalendar what is derived from KryptonContextMenuItemBase, therefore the ControlBackStyle property is not available. I spent hours (SIGH) on this already, but without luck.

@PWagner1
Copy link
Contributor

Hi @AttilaPazmandi

Yes now I see. It's because the State### for the KryptonMonthCalendar are not accessible from KryptonDateTimePicker.

@PWagner1 PWagner1 removed the awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:toolkit All issues related to the toolkit components. new feature A new feature has been requested. suggestion A suggestion has been requested. version:100 All things to do with V100.
Projects
None yet
Development

No branches or pull requests

3 participants