I have grid cell using calendar. when I pick date from calendar, CellExitedEditMode fired and show value.
When I type date, event fires, but value is empty. Is there property to change that behavior?
Still using v9.2.
I use windows resources to create calendar:
<Style x:Key="WideCalendarStyle" TargetType="controls:Calendar"> <Setter Property="Background"> <Setter.Value> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFD3DEE8" Offset="0" /> <GradientStop Color="#FFD3DEE8" Offset="0.16" /> <GradientStop Color="#FFFCFCFD" Offset="0.16" /> <GradientStop Color="#FFFFFFFF" Offset="1" /> </LinearGradientBrush> </Setter.Value> </Setter> <Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderBrush"> <Setter.Value> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFA3AEB9" Offset="0" /> <GradientStop Color="#FF8399A9" Offset="0.375" /> <GradientStop Color="#FF718597" Offset="0.375" /> <GradientStop Color="#FF617584" Offset="1" /> </LinearGradientBrush> </Setter.Value> </Setter> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="controls:Calendar"> <Grid x:Name="Root" HorizontalAlignment="Center"> <Grid.RenderTransform> <ScaleTransform ScaleX="1.15" ScaleY="1.15"/> </Grid.RenderTransform> <System_Windows_Controls_Primitives:CalendarItem x:Name="CalendarItem" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> </System_Windows_Controls_Primitives:CalendarItem> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style>
Thanks
Hello,
Thank you for your post. I have been looking into it, but it seems like that I am missing something in your scenario, so could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.
Thank you for your reply. I have attached sample project. You can replicate problem,by typing date in Big_Date column and hit TAB. Put breakpoint in grid_CellExitedEditMode adn watch e.Cell.Value. When you pick date from calendar, e.Cell.Value has value. It's empty if you type date in.
I have been looking into your sample and I tested it with our latest version 14.1 and everything seems to work ok, so I can suggest you use it since version 9.2 is a retired version and we no longer implement features or provide fixes for it. Please let me know if you have further questions on this matter.
Looking forward fro your reply.
Unfortunately, we cannot upgrade at this time. Can you suggest work around?
I downloaded latest version 14.1 to try and have same problem.
See project attached.