DatePicker dropdown auto stretchs to the screen size

Apr 4, 2016 at 3:08 PM
Edited Apr 4, 2016 at 3:19 PM
Hello everyone! I'm having a problem with DatePickers. I don't know why, when I open the pop up, it stretchs itself only horizontally.

The control is placed inside a grid with default properties. Am I missing somthing here?

<DatePicker Grid.Row="3" Grid.Column="3" DisplayDate="{Binding FechaAlta}" IsEnabled="{Binding PuedeEditar}" SelectedDate="{Binding FechaAlta, Mode=TwoWay}" Foreground="{DynamicResource Framework-Application-ForegroundColor3}" />

Screenshot

Thanks in advance.
Luis.
Coordinator
Jul 25, 2016 at 9:27 PM
Hey! Sorry about the late reply. Somehow Codeplex doesn't seem to send me notifications for new posts anymore.

Anyway: Most themes have custom styles and templates for date pickers. If you would like to customize the behavior, you can copy those styles into your local project and change them to your heart's content.


Markus