Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

ScrollBar bug in Beta1 release... RSS

3 replies

Last post May 17, 2008 06:58 PM by KeithRome

(0)
  • eyedea

    eyedea

    Member

    10 Points

    8 Posts

    ScrollBar bug in Beta1 release...

    Mar 05, 2008 10:43 PM | LINK

    Hi!

     When I tried to re-skin the ScrollViewer control I realized some artifacts from the restyled horizontal scrollbar's thumb appeared on the vertical scrollbar's thumb.

     After further investigation I found out that in the ScrollBar's OnApplyTemplate method the ElementHorizontalTemplate template part variable was not read from the templates with the base.GetTemplateChild method, so this row is missing:

       this.ElementHorizontalTemplate = base.GetTemplateChild ("HorizontalRootElement") as FrameworkElement;

    Thanks,

    Attila 

     

  • Yi-Lun Luo - MSFT

    Yi-Lun Luo -...

    All-Star

    25149 Points

    2759 Posts

    Microsoft

    Re: ScrollBar bug in Beta1 release...

    Mar 07, 2008 06:18 AM | LINK

    Thanks for reporting this issue. We've noticed this and opened a bug.

    shanaolanxing - I'll transfer to the Windows Azure team, and will have limited time to participate in the Silverlight forum. Apologize if I don't answer your questions in time.
  • eyedea

    eyedea

    Member

    10 Points

    8 Posts

    Re: Re: ScrollBar bug in Beta1 release...

    May 09, 2008 06:26 PM | LINK

    Hi Yi-Lun Luo!

    Could you please confirm that this bug is fixed in current Beta2 bits and the fix will be included in the Beta2 RTM?

     

    Thanks,

    Attila

  • KeithRome

    KeithRome

    Member

    112 Points

    47 Posts

    Re: Re: ScrollBar bug in Beta1 release...

    May 17, 2008 06:58 PM | LINK

    I was just coming here to report this bug as well (noticed it while debugging some ScrollViewer skinning problems). Good to see that it is already acknowledged and noted by the team.

    Keith Rome
    Project Manager & Senior Consultant
    MCPD-EAD, MCSD, MCDBA, MCTS-WPF, MCTS-TFS, MCTS-WSS, MVP (C#)
    Wintellect | krome@wintellect.com
    www.wintellect.com
    Weblog: http://www.mindfusioncorp.com/weblog/