Home Forums WPF controls Xceed DataGrid for WPF How to display the specified page on a Grid

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #23299 |


    I’ve created a Grid, in which, the page-wise scrolling(using PageUp() & PageDown()methods) can be performed. Please let me know about , how to find out the specified page and display it on the Grid.

    Thanks in advance


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

    Xceed Support
    Post count: 5658

    Hi Sathanantham,

    the page functionality is not a built in feature of the grid. Since the Datagrid for WPF implements UI virtualization, it is not known in advance how much space will be required to display the containers, hence you cannot predict with certainty the dimensions of the page. Therefore, you cannot scroll page wise. The workaround would be to implement a StackPanel instead of the VirtualizingStackPanel and to turn off the Column virtualization. Doing such process will negatively impact the performance of your grid instance and is not recommended.

    Imported from legacy forums. Posted by Mohamed [Xceed] (had 550 views)

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