Hi
As the subject says, I select a date and it is highlighted, when the control losses focus there is no indication which date is selected.
thanks
Martin
I have changed color scheme and monitors and I can now see a light gray background when not in focus. too light for me so it has been a worth while exercise using the Item style
thanks for the help
that is strange as I am not setting any colors, my simple xaml below. if i focus on the TextBox the selection goes on the calender
running on XP 64bit, are you Vista ??
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="UntitledProject1.Window1" x:Name="Window" Title="Window1" Width="640" Height="480" xmlns:igGrid="http://infragistics.com/Editors"> <Grid x:Name="LayoutRoot"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition> </Grid.ColumnDefinitions> <igGrid:XamMonthCalendar></igGrid:XamMonthCalendar> <TextBox Grid.Column="1"></TextBox> </Grid></Window>
I tested this out and the selected item(s) change to gray when the xamMonthCalendar loses focus. I looked at the default style and it looks like its using SystemColors.ControlLight which doesn't seem right - it probably should be a custom brush key. Maybe that color is the same as your background color.
talking to myself here
<Window.Resources> <Style x:Key="CalenderItemAlwaysSelected" TargetType="{x:Type igGrid:CalendarItem}"> <Style.Triggers> <Trigger Property="IsSelected" Value="True"> <Setter Property="Background" Value="LightGreen"/> </Trigger> </Style.Triggers> </Style> </Window.Resources>