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

[Solved] FontSize in standard mode is fix (popup closed)

2 Answers 54 Views
DatePicker for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 03 Aug 2013, 09:35 AM
Hello,

I'm just trying to set the font size of the RadDatePicker/RadTimePicker in standard mode (when the popup is closed). It seems to have a fixed size of 16 points and cannot be changed, so e.g.

<tdi:RadDatePicker FontSize="24"/>

seems not to have an effect.

Is there any way to change the font size?

Many thanks in advance!

Best regards

Thomas

Btw: The documenation page for "RadDatePicker and RadTimePicker -> Overview" links to the "Pagination" overview

2 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 05 Aug 2013, 03:26 PM
Hello Thomas,

Thank you for using RadControls for Windows 8!

This is how you can change the FontSize property of the standard part of the control:

<telerikInput:RadDatePicker>
    <telerikInput:RadDatePicker.Resources>
        <Style TargetType="telerikDTP:DateTimePickerButton">
            <Setter Property="FontSize" Value="30" />
        </Style>
    </telerikInput:RadDatePicker.Resources>
</telerikInput:RadDatePicker>

And you will need the following namespaces added to your page:

xmlns:telerikInput="using:Telerik.UI.Xaml.Controls.Input"
xmlns:telerikDTP="using:Telerik.UI.Xaml.Controls.Input.DateTimePickers"

As to the incorrect overview links, we know about this issue and it will be fixed when we upload our online documentation this week. Nevertheless, thank you for your valuable feedback!

I hope this was useful and let us know if there is anything else we can assist you with.

Regards,
Rositsa Topchiyska
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Thomas
Top achievements
Rank 1
answered on 05 Aug 2013, 04:22 PM
Hello Rositsa,

many thanks for your help - I did the changes according to your code fragment and it works now perfectly :-)

Best regards

Thomas
Tags
DatePicker for XAML
Asked by
Thomas
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or