This is a migrated thread and some comments may be shown as answers.

How to hide close button?

3 Answers 34 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Paweł
Top achievements
Rank 1
Paweł asked on 26 Oct 2011, 12:50 PM
Is there any possibility to hide Close Button in DateTimePicker?
Kind regards,
Paweł Żochowski 

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 26 Oct 2011, 01:37 PM
Hello Paweł,

In order to remove the close button from the RadDateTimePicker you need to edit its template. You can do this very easy with Expression Blend. Just drop a DateTimePicker control on the design surface, right-click it and choose from the menu Edit Template -> Edit a Copy. Then Blend will generate all the needed resources. Find the Border with  x:Name="CloseButtonContainer", which contains the Close button and remove it.

Hope this information helps.

All the best,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Paweł
Top achievements
Rank 1
answered on 28 Nov 2011, 02:51 PM
After Q3 Update could I hide or change text on Close button without edit whole template?
0
Konstantina
Telerik team
answered on 29 Nov 2011, 12:56 PM
Hi Paweł,

Sorry, we didn't make any changes on that behaviour of the RadDateTimePicker control.

Greetings,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
DateTimePicker
Asked by
Paweł
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Paweł
Top achievements
Rank 1
Share this question
or