<
telerik:RadNumericUpDown
x:Name
=
"TotalTimeSpent"
Grid.Column
=
"1"
Grid.Row
=
"1"
Focusable
=
"True"
LargeChange
=
"1.0"
SmallChange
=
"0.1"
Value
=
"0.1"
Maximum
=
"24.0"
Minimum
=
"0.0"
TabIndex
=
"1"
UpdateValueEvent
=
"PropertyChanged"
ValueFormat
=
"Numeric"
/>
TextBox totalTimeSpent = TotallTimeSpent.FindChildByType<TextBox>()
as
TextBox;
if
(totalTimeSpent !=
null
)
{
totalTimeSpent .TabIndex = TotalTimeSpent .TabIndex;
}
<Style x:Key="test" TargetType="{x:Type telerikGridView:GridViewRow}">
<Setter Property="Background" Value="White"/>
<Style.Triggers>
<DataTrigger Value="true">
<DataTrigger.Binding>
<MultiBinding Mode="OneWay" Converter="{StaticResource backgroundConverter}">
<Binding Path="FirstName"/>
<Binding Path="LastName"/>
</MultiBinding>
</DataTrigger.Binding>
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimationUsingKeyFrames
AutoReverse="True" BeginTime="00:00:00"
Duration="00:00:5"
Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)">
<LinearColorKeyFrame Value="Green" KeyTime="00:00:.5" />
</ColorAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
</DataTrigger>
</Style.Triggers>
</Style>