Posted 16 years ago
by Mike Strobel
- New York, NY
Great job with the editors, guys--having had more time to explore them, they really are quite slick.
First, a quick observation: the caret displayed in an editor part appears to have a width of 2px while the standard WPF caret (displayed between parts) has a width of 1px. I just think it looks a little inconsistent. I'd suggest either changing it to 1px or adding a property to CaretLayer to set the width.
Second, I noticed that when I enter a complete value for an editor part (e.g. a "MM" month field in the DateTimeEditBox), typing another character does not send me to the next part. For example, given a DateTimeEditBox:
01^/dd/yyyy
...where ^ represents the position of the caret, typing another number does not transfer focus to the day field. I have to manually hit '/', tab, etc. I think in cases where the current part's data is complete, focus should transfer automatically (assuming valid input), so I could simply type the sequence "01241984" to fill out "01/24/1984". If there are potential issues with this behavior that I'm overlooking, a property to toggle the behavior on/off would be fine.
Regards,
Mike
[Modified at 03/29/2009 01:30 PM]
First, a quick observation: the caret displayed in an editor part appears to have a width of 2px while the standard WPF caret (displayed between parts) has a width of 1px. I just think it looks a little inconsistent. I'd suggest either changing it to 1px or adding a property to CaretLayer to set the width.
Second, I noticed that when I enter a complete value for an editor part (e.g. a "MM" month field in the DateTimeEditBox), typing another character does not send me to the next part. For example, given a DateTimeEditBox:
01^/dd/yyyy
...where ^ represents the position of the caret, typing another number does not transfer focus to the day field. I have to manually hit '/', tab, etc. I think in cases where the current part's data is complete, focus should transfer automatically (assuming valid input), so I could simply type the sequence "01241984" to fill out "01/24/1984". If there are potential issues with this behavior that I'm overlooking, a property to toggle the behavior on/off would be fine.
Regards,
Mike
[Modified at 03/29/2009 01:30 PM]