New Silverlight Demos home page

5 posts, 0 answers
  1. Sharon
    Sharon avatar
    1 posts
    Member since:
    Oct 2010

    Posted 16 Mar 2011 Link to this post

    I really like the new Silverlight homepage (http://demos.telerik.com/silverlight/#Home) especially the animated rollover feature for the "View Showcases" and "Explore All Controls" section. Was a rad control used for this animated rollover? Can you direct me to the source code? 
  2. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 17 Mar 2011 Link to this post

    Hello Sharon,

    I am glad you liked the demo.

    No rad control was used when creating the flip on MouseOver. We just handle the MouseEnter and MouseLeave events and trigger an animation. 

    If you want to have a look at the code please download the controls and after installation you will find a solution for the demos installed. In it look for the QuickStartUI_SL project and the HomePageView.xaml. In it look for this particular piece of code.

    <i:Interaction.Triggers>
                    <i:EventTrigger EventName="MouseEnter">
                        <i:Interaction.Behaviors>
                            <ei:ConditionBehavior>
                                <ei:ConditionalExpression>
                                    <ei:ComparisonCondition LeftOperand="{Binding IsDropDownOpen, ElementName=searchCombo}" RightOperand="False"/>
                                    <ei:ComparisonCondition LeftOperand="{Binding IsOpen, ElementName=allProducts}" RightOperand="False"/>
                                    <ei:ComparisonCondition LeftOperand="{Binding IsFocused, ElementName=searchCombo}" RightOperand="False"/>
                                </ei:ConditionalExpression>
                            </ei:ConditionBehavior>
                        </i:Interaction.Behaviors>
                        <ei:ControlStoryboardAction Storyboard="{StaticResource Controlshighlight_Enter}"/>
                    </i:EventTrigger>
                    <i:EventTrigger EventName="MouseLeave">
                        <i:Interaction.Behaviors>
                            <ei:ConditionBehavior>
                                <ei:ConditionalExpression>
                                    <ei:ComparisonCondition LeftOperand="{Binding IsDropDownOpen, ElementName=searchCombo}" RightOperand="False"/>
                                    <ei:ComparisonCondition LeftOperand="{Binding IsFocused, ElementName=searchCombo}" RightOperand="False"/>
                                </ei:ConditionalExpression>
                            </ei:ConditionBehavior>
                        </i:Interaction.Behaviors>
                        <ei:ControlStoryboardAction Storyboard="{StaticResource Controlshighlight_Leave}"/>
                    </i:EventTrigger>
                </i:Interaction.Triggers>

    You should also keep in mind that the interactions are using Blend's Interactions and Interactivity DLLs.

    Let me know if there is anything else.

    Best wishes,
    Kalin Milanov
    the Telerik team
  3. Yas
    Yas avatar
    10 posts
    Member since:
    Jul 2009

    Posted 18 Mar 2011 Link to this post

    The new Silverlight homepage is indeed very nice. Congrats to the designers and developers.

    On the Silverlight homepage there is a screenshot of an application monitoring website access. Is it available in the demo?

    I am interested with the layout of the different control and the customised menu. Is it possible to get a sample project for this application?

    Thanks.
    Yas
  4. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 18 Mar 2011 Link to this post

    Hi Yas,

    The screenshot you see is the analytics module of Sitefinity 4.0 which utilizes the RadChart for Silverlight. The screenshot is a showcase of the possibilities the control provides. If you are interested in charting controls and their layouts, please review the charting online demos.

    Happy browsing.

    Regards,
    Kalin Milanov
    the Telerik team
  5. Yas
    Yas avatar
    10 posts
    Member since:
    Jul 2009

    Posted 19 Mar 2011 Link to this post

    Thanks Kalin.
Back to Top