fowLayoutPanel Custom Vertical Scrolling

62 Views Asked by At

I have a flowLayoutPanel with several User Controls in it as shown in the image below: enter image description here

The First User Control is the header in flowLayoutPanel with description about the User Controls below it, Now when User Controls populate the flowLayoutPanel and vertical scroll bar appears, then when I scroll down flowLayoutPanel then first 'User Control'(Header which contain details) also scroll down and details are not shown to user, I want the vertical scrolling to start from second User Control so that my Header will visible to user all time.

1

There are 1 best solutions below

3
Node defender On BEST ANSWER

FlowLayoutPanel has no such function for now, but you can create a new FlowLayoutPanel as Header. As follows:

enter image description here

Or use dategridview directly, its Header is suspended by default, as shown below

enter image description here