Home Forums WPF controls Xceed DataGrid for WPF Logical Operations on TableViewScrollViewer

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #23037 |

    I’m using TableViewScrollViewer to perform logical scrolling on the DataGrid

    TableViewScrollViewer encapsulates both Vertical and Horizontal Scrollbar.

    1. Could you please let me know how to find out by which Scroll bar(Horizontal or Vertical) the ScrollChanged event of the TableViewScorllViewer Class is raised?

    2. On the Vertical Scroll bar, how to achieve the following:
    If I click the Scroll Up button,the PageUp() function should be called.
    If I click the Scroll down button, the PageDown() function should be called.

    Thanks in Advance

    Regards
    Sathanantham

    Imported from legacy forums. Posted by Satheesh (had 2785 views)

    Xceed Support
    Member
    Post count: 5658

    1. ScrollChangedEventArgs have a HorizontalChange and a VerticalChange member that indicate. A single event could represent a change on both axis (as in the BringIntoView() case).

    2. You would need to redo the template of the ScrollBars to have the components of the scrollbar issue the appropriate command. You can reverse engineer the original scrollbar template by using the StyleSnooper tool, which can be found <a href=”http://wpfwonderland.wordpress.com/2007/01/02/wpf-tools-stylesnooper/”>here</a&gt;

    Imported from legacy forums. Posted by Marcus [Xceed] (had 269 views)

    User (Old forums)
    Member
    Post count: 23064

    Dear Marcus,

    Thanks for your timely help.. It works well..!!!!

    Regards,
    Sathanantham

    Imported from legacy forums. Posted by Satheesh (had 3591 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.