Need help with FlexGrid scrollbar behavior

Posted by: jacob.a.buchanan6.ctr on 28 July 2026, 4:07 pm EST

    • Post Options:
    • Link

    Posted 28 July 2026, 4:07 pm EST

    Hello,

    I have two questions related to the scrollbar in a FlexGrid.

    1. The scrollbar, when enabled, seems to collapse to a thin line when not hovered by the mouse. Is it possible to disable this so that the scrollbar is always fully ‘expanded’ when visible?
    2. Let’s say you have a FlexGrid with a lot of rows such that the scrollbar is visible. If I have my SelectionMode set to any of the range selections like RowRange or CellRange and then begin selecting, I can’t really select outside the current visible cell range. Meaning if only rows 0 through 10 were visible in my UI, then I wouldn’t be able to select rows 0 through 20 since it doesn’t auto scroll. Technically I could select the first row, scroll to row 20, and this shift click but sometimes the user just wants a little bit of extra column/row info in their copy selection and it’s just barely outside the view. I was curious if there was a property that controlled this functionality or if there was an edit to the style for FlexGrid that I could implement?
  • Posted 29 July 2026, 3:27 am EST

    Hi Jacob,

    Thank you for sharing the complete details.

    Regarding (1) - This is the default behavior of the FlexGrid’s scrollbar. It is actually a design feature of modern UI guidelines - specifically the Fluent Design System introduced in Windows 10/11. The scrollbar intentionally shrinks to a compact “thin line” to maximize screen space and only expands to a grab-able size when the user hovers over it.

    The only way to disable this behavior is to set the VerticalScrollBarVisibility property of the FlexGrid to ScrollBarVisibility.Visible. This will keep the vertical scrollbar permanently visible instead of allowing it to collapse automatically.

    Regarding (2) - Unfortunately, the grid does not currently support auto-scrolling when a selection is dragged beyond the current viewport. An enhancement request for this functionality has already been submitted to the development team, and we are following up with them to get the latest updates. We will keep you informed as soon as we receive any new information.

    [Internal tracking ID: C1XAML-39778]

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels