or
Hi,
I would like to run a storyboard which will effect the border when a user enters a cell. I presume this can be achieved through a trigger.
Alternately / also I would like show a different control template, when the enters the cell and leaves the cell
My problem is that I do not which property to attach the trigger to.
for my column style I am using this ControlTemplate.
<ControlTemplate x:Key="DataBoundColumnCustom" TargetType="{x:Type telerik:GridViewCell}">
<ControlTemplate.Triggers>
<Trigger>
</Trigger>
</ControlTemplate.Triggers>
<Border CornerRadius="2,2,2,2" Background="Cornsilk" Opacity="50" >
</Border>
</ControlTemplate>
pat.Frequency = RecurrenceFrequency.Weekly;pat.MaxOccurrences = week.NumberOfOccurrences;Microsoft.Exchange.WebServices.Data.DayOfTheWeekCollection days = ((Microsoft.Exchange.WebServices.Data.Recurrence.WeeklyPattern)week).DaysOfTheWeek;RecurrenceDays telerikdays = new RecurrenceDays();foreach (DayOfWeek d in days){ switch (d) { case DayOfWeek.Friday: telerikdays.AddDay(RecurrenceDays.Friday); break; case DayOfWeek.Saturday: telerikdays.AddDay(RecurrenceDays.Saturday); break; case DayOfWeek.Sunday: telerikdays.AddDay(RecurrenceDays.Sunday); break; case DayOfWeek.Monday: telerikdays.AddDay(RecurrenceDays.Monday); break; case DayOfWeek.Tuesday: telerikdays.AddDay(RecurrenceDays.Tuesday); break; case DayOfWeek.Wednesday: telerikdays.AddDay(RecurrenceDays.Wednesday); break; case DayOfWeek.Thursday: telerikdays.AddDay(RecurrenceDays.Thursday); break; }}pat.DaysOfWeekMask = telerikdays;<telerik:RadTabControl x:Name="radtabVariableControlsContainer" Margin="0" d:LayoutOverrides="GridBox" Grid.Column="1" BorderBrush="{x:Null}" ItemsSource="{Binding MainContentControls}" SelectedItemRemoveBehaviour="SelectPrevious" ItemContainerStyle="{StaticResource MainContentItemContainerStyle}"/><Style x:Key="MainContentItemContainerStyle" TargetType="{x:Type telerik:RadTabItem}"> <Setter Property="HeaderTemplate" Value="{StaticResource ContentAreaTabHeaderTemplate}"/> </Style><DataTemplate x:Key="ContentAreaTabHeaderTemplate"> <TextBlock Text="{Binding Name, Converter={StaticResource TabHeaderTextConverter}}" FontFamily="Arial" FontSize="13.333"/> </DataTemplate>