Esempio n. 1
0
 // Token: 0x0600569C RID: 22172 RVA: 0x0017F660 File Offset: 0x0017D860
 private static void ResetScrolling(StackPanel element)
 {
     element.InvalidateMeasure();
     if (element.IsScrolling)
     {
         element._scrollData.ClearLayout();
     }
 }
Esempio n. 2
0
        private static void ResetScrolling(StackPanel element)
        {
            element.InvalidateMeasure();

            // Clear scrolling data.  Because of thrash (being disconnected & reconnected, &c...), we may
            if (element.IsScrolling)
            {
                element._scrollData.ClearLayout();
            }
        }
Esempio n. 3
0
        private static void OnStackPanelOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            StackPanel sp = d as StackPanel;

            if (sp == null)
            {
                return;
            }

            sp.InvalidateMeasure();
            sp.InvalidateArrange();
        }
Esempio n. 4
0
        private static void ResetScrolling(StackPanel element)
        {
            element.InvalidateMeasure();

            // Clear scrolling data.  Because of thrash (being disconnected & reconnected, &c...), we may
            if (element.IsScrolling)
            {
                element._scrollData.ClearLayout();
            }
        }