Scrolling
Introduction
Built-In Scrolling Behavior
Scrolling Speed

Last updated
Was this helpful?

Last updated
Was this helpful?
Was this helpful?
var defaultListBox = new ListBox();
defaultListBox.AddToRoot();
defaultListBox.Anchor(Anchor.Center);
defaultListBox.X = -100;
for (int i = 0; i < 20; i++)
{
defaultListBox.Items.Add(i);
}
var fastListBox = new ListBox();
fastListBox.AddToRoot();
fastListBox.Anchor(Anchor.Center);
fastListBox.X = 100;
// default is 10:
fastListBox.SmallChange = 50;
for (int i = 0; i < 20; i++)
{
fastListBox.Items.Add(i);
}