A G
A G

Reputation: 22577

FlowLayoutPanel. Custom Scrollbars

Is it possible to use a third party scroll control inside a FlowLayoutPanel? Thing is that we are using devexpress controls and the FlowLayoutPanel's scrollbar controls does not look good.

Is there a way to custom paint or replace them with devexpress controls.

Any ideas on how to go about this?

Upvotes: 2

Views: 3974

Answers (2)

Elan
Elan

Reputation: 6376

I had the same need and came up with a solution combining the standard FlowLayoutPanel with the DevExpress XtraScrollableControl. See my post here.

Upvotes: 2

DevExpress Team
DevExpress Team

Reputation: 11376

I would suggest that you take a look at the XtraLayoutControl Suite that provides a greater functionality in comparison with the FlowLayoutPanel control. Also, please note that our skinning engine works only with DevExpress controls and thus standard controls and their elements are not skinned.

Finally, this is just an idea, and it might work. You should turn off the FlowLayoutControl scrollbars and position our scrollbars near the control. You will have to handle the scrollbars' Scroll event to scroll the FlowLayoutControl programmatically and also synchronize the scrollbars position. This is not an easy task, but I just have no other idea on how this can be done.

Upvotes: 2

Related Questions