GridCellsPanel, RowDetailsVisibilityMode

Posted by: info on 26 April 2022, 3:03 pm EST

  • Posted 26 April 2022, 3:03 pm EST


    I have updated to C1.WPF.Grid.Ja 6.0.20221.218.

    1 FlexGrid RowDetailsVisibilityMode
    2 GridCellsPanel

    These are no longer available.

    I don't need RowDetailsVisibilityMode now.

    However, I need this code.

    Is this bug?
  • Marked as Answer

    Replied 26 April 2022, 5:02 pm EST


    You need to replace GridCellsPanel with GridControlPanel as :

    private void FlexGrid_Loaded(object sender, RoutedEventArgs e)
    var scrollViewer = flexGrid.Template.FindName("ScrollViewer", flexGrid) as C1ScrollViewer;
    var cellsPanel = scrollViewer.Content as GridControlPanel;
    cellsPanel.Margin = new Thickness(0, 0, 0, 40);

    Please refer the attached sample for the same:

    Best Regards,
  • Replied 26 April 2022, 6:33 pm EST

    Thank you!
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels