Jul 3, 2018 04:21 PM
(This post was last modified: Jul 3, 2018 04:22 PM by FryPan.)
How would I do this? I've tried searching for ways to do this with no working methods.
Thanks! 🤝
Thanks! 🤝
|
C#
Smooth Vertical Scroll On FlowLayoutPanel [C#] |
|
Jul 3, 2018 04:21 PM
(This post was last modified: Jul 3, 2018 04:22 PM by FryPan.)
How would I do this? I've tried searching for ways to do this with no working methods.
Thanks! 🤝 (Jul 3, 2018 04:21 PM)FryPan Wrote: How would I do this? I've tried searching for ways to do this with no working methods. Why not use wpf,in wpf WrapPanel has similar behaviour as WinForms FlowLayoutPanel. Here is one solution that might help you in wpf.You need to put the panel in ScrollViewer Code <ScrollViewer x:Name="hfSV" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Hidden">up scroll Code var scrollViwer = POSUIHelper.GetScrollViewer(hfSV) as ScrollViewer;down scroll Code var scrollViwer = POSUIHelper.GetScrollViewer(hfSV) as ScrollViewer;Code public static class POSUIHelper
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
(Jul 4, 2018 12:45 PM)itcorp Wrote: Why not use wpf,in wpf WrapPanel has similar behaviour as WinForms FlowLayoutPanel. Found it really hard to get in to WPF, but will definitely give it another go soon. |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [C#] by draxyeeJun 5, 2020 02:58 PM | 1 | 244 |
Jun 5, 2020 02:58 PM Last Post: Porn |
| [C#] by MintoJul 19, 2018 07:25 PM | 10 | 690 |
Jul 19, 2018 07:25 PM Last Post: 6577657534735 |
| [.NET] by monemdsNov 17, 2017 10:46 AM | 2 | 214 |
Nov 17, 2017 10:46 AM Last Post: monemds |