(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Tip: How to specify ScrollViewer's attached properties in XAML?

(0 votes)
Emil Stoychev
>
Emil Stoychev
Joined Oct 15, 2007
Articles:   23
Comments:   98
More Articles
0 comments   /   posted on Jun 02, 2008
Categories:   Controls

While playing with the ListBox control I want to set the ScrollViewer's VerticalScrollBarVisibility/HorizontalScrollBarVisibility properties in the XAML. The following code illustrates how to do it:

<ListBox x:Name="StatusList" 
ScrollViewer.HorizontalScrollBarVisibility="Hidden">
    
...
</ListBox>

Subscribe

Comments

No comments

Add Comment

Login to comment:
  *      *