This question is locked. New answers and comments are not allowed.
Hello,
I have problems with changing the control style of a RadWindow. How can I set a style for a Window if it losts the focus? Is this possible or not?
I tried the following, but now my header always has this color .. it doesn't depend on the focus state:
regards Richard
I have problems with changing the control style of a RadWindow. How can I set a style for a Window if it losts the focus? Is this possible or not?
I tried the following, but now my header always has this color .. it doesn't depend on the focus state:
<
VisualState
Name
=
"Unfocused"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"HeaderBackgroundVisual"
Storyboard.TargetProperty
=
"Fill"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource WindowHeaderBackgroundUnfocused}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
regards Richard