Date Picker

Mar 5, 2009 at 10: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 10:58 PM
Edited Mar 5, 2009 at 10: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 1:52 PM
Thank you. Works fine.