private static void OnStackPanelOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { StackPanel sp = d as StackPanel; if (sp == null) { return; } sp.InvalidateMeasure(); sp.InvalidateArrange(); }
private static void OnStackPanelOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { StackPanel sp = d as StackPanel; if (sp == null) { return; } sp.InvalidateMeasure(); sp.InvalidateArrange(); }