1.) Is it possible to disiplay a time editor similar to the windows system time editor in the xamtimeeditor dropdown?
2.) How do I display the time zone as part of the time?
3.) How do I style the dropdown calendar? I need to make the background black, foreground white.
Thanks,
Sam
Hello Sam,
I have modified the sample, so now there are dropdowns that can set the time.
Hope this helps you.
Hi Stephan, I tried the new control. We are using version 11.2 so I had to reference those assemblies. I think it causes problems in a couple places:
If I just start typing a date into the textbox the control crashes in the OnTimerTick event because the variable time is null:
time.Text = now.ToString("hh:mm:ss:tt 'GMT'z"); // time = null
Honestly, the clock is visually attractive but I think it is difficult to use it to select the time. Just my two cents if you dont mind. I think it would be easier to allow the user to just edit the time by typing it, or if you want to be fancy, have dropdowns for hour, minuite, second, am/pm. When the user presses the tab when the focus is on the calendar the cursor should jump to the textboxes under the clock to let the user edit the time. Also the time should be editable (and viewable) without expanding the control - just like the date
BTW the hour and minute hands look like they are the same length on the clock. its a bit difficult to tell which is which
Thanks again for making this, it is a beautiful control I think you should include it with the retail product.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hello,
I have modified the sample I sent you before, so now you are able to set the time by interacting with the clock. Also you can notice that the time zone is shown after the date and time as “GMT +” a number that depends on your time zone. If you want to show some countries you can format the value of the editor by using an Enum or Array with that information.
The user should be able to edit the time just as they do the date. Also, ideally, the time zone will display with the date and time. Thanks very much this is a very nice control!