private static void OnOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { Y_CollapseControl cm = (Y_CollapseControl)d; cm.ChangeOrientation(); }
/// <summary> /// /// </summary> private static void OnIsExpandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { Y_CollapseControl cm = (Y_CollapseControl)d; cm.expand((bool)e.NewValue); }