Posted 14 years ago
by David Kirk
Version: 4.5.0487
Platform: .NET 3.5
Environment: Windows XP (32-bit)

The DateTimePicker in the sample below disappears when changing months. This is not a problem when IsFocusScope="False". Also note that I only see this behavior after a Value is set. Is there something else that needs to be set for the DateTimePicker to work in this scenario? Please help... Thanks, -dk
<Window x:Class="DateTimePickerTest.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:actipro="http://schemas.actiprosoftware.com/winfx/xaml/shared"
Title="DateTimePicker Bug"
Height="300"
Width="300">
<Grid>
<TabControl Grid.Row="1" Margin="3">
<TabItem Header="IsFocusScope">
<DockPanel FocusManager.IsFocusScope="True">
<actipro:DateTimePicker
Value="11/05/1955"
Width="100"
Height="25"
DockPanel.Dock="Top">
</actipro:DateTimePicker>
</DockPanel>
</TabItem>
</TabControl>
</Grid>
</Window>