Date Picker

Mar 5, 2009 at 9:22 PM
Is there a way to style DatePicker control, so when it is expanded it is large enough to select date with a finger?
Mar 5, 2009 at 9:58 PM
Edited Mar 5, 2009 at 9:59 PM
Sure, just set the CalendarStyle and apply a ScaleTransform to it. Like this:

                            <d:DatePicker SelectedDateFormat="Short" SelectedDate="{Binding Date, Mode=TwoWay}">
                                    <Style TargetType="{x:Type d:Calendar}">
                                        <Setter Property="LayoutTransform">
                                                <ScaleTransform ScaleX="2" ScaleY="2"/>
Mar 6, 2009 at 12:52 PM
Thank you. Works fine.