Archive for December 25th, 2010

WPF: scrollbars not working

December 25, 2010

Do that ListBox doesn’t show scrollbars ? no vertical scrollbar ?!?!
Neither ScrollViewer seems work, really ?

Shortly …  maybe are you collecting your controls in a StackPanel ?!??!
Well, it’s all due to that StackPanel … it has no limits, so those controls don’t know whether they are in-sight or out-of-sight.
Try a DockPanel instead, plus LastChildFill property is very helpfull.

More words about scrollbars, are here Use the Right Container for ListBox Scrolling . ;)

Technorati Tags: ,,.
 
  • December 2010
    M T W T F S S
    « Nov   Jan »
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • .

    .Net Agile Antivirus Book C# Programming EntityFramework GTD Hyper-V LinQ MVVM Office Resharper SCRUM Security Sharepoint Silverlight SQLServer TFS ToDoList Unit Test VirtualBox Virtual PC Visual Studio VMware Windows7 WPF XeDotNet XML XPath

  • Follow

    Get every new post delivered to your Inbox.