+ private void AddManyScrollableBases()
+ {
+ tlog.Fatal(tag, $"AddManyScrollableBases()");
+
+ for (int i = 0; i < NUMBER_OF_VIEW; i++)
+ {
+ var child = new ScrollableBase()
+ {
+ Size = new Size(60, 60),
+ Position = new Position(rand.Next(MIN_POSITION, MAX_POSITION), rand.Next(MIN_POSITION, MAX_POSITION)),
+ BackgroundColor = new Color((float)rand.NextDouble(), (float)rand.NextDouble(), (float)rand.NextDouble(), 1),
+ };
+
+ rootView.Add(child);
+ child.Relayout += Child_Relayout;
+ child.RemovedFromWindow += Child_RemovedFromWindow;
+ child.AddedToWindow += Child_AddedToWindow;
+ child.WheelEvent += Child_WheelEvent;
+ child.HoverEvent += Child_HoverEvent;
+ child.InterceptTouchEvent += Child_InterceptTouchEvent;
+ child.TouchEvent += Child_TouchEvent;
+ child.ResourcesLoaded += Child_ResourcesLoaded;
+ child.KeyEvent += Child_KeyEvent;
+ child.FocusLost += Child_FocusLost;
+ child.FocusGained += Child_FocusGained;
+ }
+ }
+
+