Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
770
Scroll bar hiding
posted

hi,

  we are using XamWebGrid .

 I have to hide visibility of scrollbar .

 I have declared property

ScrollViewer.VerticalScrollBarVisibility

 

="Hidden"

but then also it vertical bar .

how can I do that

Thanks ,

Nandkishor .

 

  • 40030
    Suggested Answer
    Offline posted

    Hi Nandkishor, 

    The xamWebGrid doesn't support the ScrollViewer's attached properties.  Although i suppose its something we can look into. 

    However, in order to achieve this you have 2 options. 

    1.  If you don't want to be able to scroll, you can put the grid in a container that gives it infinite height.  Such as a Vertical StackPanel. 

    2.  Modify the ControlTemplate of the xamWebGrid and change it's vertical scrollbar's Visibility. 

    -SteveZ