Customising DateTimeEditBox

Editors for WPF Forum

Posted 14 years ago by Andreas Dickau
Version: 10.1.0523
I'm trying to change the look of the DateTimeEditBox (rounded edges and colouring etc) by creating a new style using Blend 4. When I try to compile the style in VS2010 (even before making any changes), I get the following error:

Error 1 Cannot set Name attribute value 'border' on element 'Border'. 'Border' is under the scope of element 'DateTimeEditor', which already had a name registered when it was defined in another scope. Line 340 Position 65. I:\WDQ\WorkDESKq\WorkDESKq\APP\CandidateWindow.xaml 340 65 WorkDESKq

What is the best way to customise the DateTimeEditBox?

Thanks for your help


Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Andreas,

You can get the default Styles for the products you own by emailing our support address, or if you own WPF Studio you can download them from our website.

It sounds like Blend is try to retemplate the DateTimeEditor also, which it shouldn't. That is a UserControl that is used in the drop-down of the DateTimeEditBox.

Actipro Software Support

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.