DateTimePicker not working in new FocusScope.

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 15 years ago by David Kirk
Version: 4.5.0487
Platform: .NET 3.5
Environment: Windows XP (32-bit)
Avatar
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>

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi David,

Thanks for the sample, we've fixed it for the next release.


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.