Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WinForm ScrollViewer

I have an application in WPF that uses ScrollViewr and I want to port it to WinForms, is there an equivalent control for WinForms?

Reason:

WPF program is slow and I can't seem to learn how to render the program properly (GameOfLife). Code:

    <ScrollViewer  Name="displayPlaceHolder" HorizontalScrollBarVisibility="Auto">
        <Canvas Name="display" MouseMove="display_MouseMove" MouseDown="display_MouseDown" Cursor="Cross" KeyDown="global_KeyDown" Focusable="True" />
    </ScrollViewer>
like image 209
Gilad Naaman Avatar asked Jul 04 '11 11:07

Gilad Naaman


1 Answers

You could try to use Panel with AutoScroll property enabled.

like image 163
Renatas M. Avatar answered Sep 19 '22 01:09

Renatas M.