xceedsoftware/wpftoolkit

DateTimePicker DropDownButtonWidth is 0 if I have two DateTimePickers in the same control

achilleaskar opened this issue · 4 comments

After I installed update 4.2.0 everywhere that I have 2 DateTimePickers the DropDownButton is lost. If I set DropDownButtonWidth = 20 it is shown and working but it is full gray, no arrow. My app is WPF .NET Framework 4.8

image

<Label Content="Αναχώρηση:"
               Grid.Row="2" />
        <xctk:DateTimePicker Grid.Row="2"
                                Grid.Column="1"
                                FormatString="dd/MM/yy HH:mm"
                                Kind="Local"
                                Margin="0 5"
                                Width="120"
                                IsEnabled="True"
                                DropDownButtonWidth="20"
                                ShowButtonSpinner="False"
                                Value="{Binding Service.TimeGo,UpdateSourceTrigger=PropertyChanged}"
                                Format="Custom" />
        <Label Content="Επιστροφή:"
               Grid.Row="2"
               Grid.Column="2" />
            <xctk:DateTimePicker Grid.Row="2"
                                 Grid.Column="3"
                                IsEnabled="{Binding IsChecked, ElementName=AllerretourCheckBox}"
                                FormatString="dd/MM/yy HH:mm"
                                Kind="Local"
                                DropDownButtonWidth="20"
                                Margin="0 5"
                                Width="120"
                                ShowButtonSpinner="False"
                                Value="{Binding Service.TimeReturn,UpdateSourceTrigger=PropertyChanged}"
                                Format="Custom" />

I think this is already fixed in the latest version v4.3. Could you test with in the commercial version to make sure ? Is is available for free for 45 days here: https://xceed.com/en/our-products/product/toolkit-plus-for-wpf

Users of the Commercial version have v4.3.
Users of the non-commercial version have v4.2 and v4.3 should be released soon.

Thank you

On nuget, just back to 4.1.0

Is there any ETA on v4.3 release for non-commercial users? I've also run into this issue with a project recently and had to revert to v4.1 to get around it

Hello,
Yes, working on it.
v4.3 for non-commercial users should be released real soon.
This week or next week.
Stay tuned !