Naganath Mali

Naganath Mali

  • NA
  • 78
  • 10.2k

Scrolling content in dock panel

Jan 18 2014 5:21 AM
Hello,
 
I'm facing problem with scrolling content in Dock panel .
My controls placed in DockPanel as below 
 <DockPanel>
    <ScrollViewer>
     <StackPanel>
        --- Here controls are like Radiobutton,Lable ,CheckBox,Textblock are added dynamically in grid.---
       </StackPanel>
    </ScrollViewer>     
</DockPanel>
 
I'm using only vertical scrollbar, not need horizontal scrollbar,
When I first time traverse through controls in DockPanel by using tab ,Tab focus goes off the screen but panel is not scrolling down.
 
Please help me out  I'm really stuck over here.
 Thanks in advance.