Change style if window lost the focus

2 posts, 0 answers
  1. Richard Koslik
    Richard Koslik avatar
    71 posts
    Member since:
    Apr 2010

    Posted 29 Oct 2012 Link to this post


    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">
                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderBackgroundVisual"
            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource WindowHeaderBackgroundUnfocused}" />

    regards Richard
  2. Masha
    Masha avatar
    355 posts

    Posted 01 Nov 2012 Link to this post

    Hello Richard,

    We were able to reproduce the issue. At the moment unfocused state is working only in WPF.
    We apologize if this has raised problems in your project. We will provide a fix in the nearest LIB.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top