Example #1
0
        private static void OnOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Y_CollapseControl cm = (Y_CollapseControl)d;

            cm.ChangeOrientation();
        }
Example #2
0
        /// <summary>
        ///
        /// </summary>
        private static void OnIsExpandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Y_CollapseControl cm = (Y_CollapseControl)d;

            cm.expand((bool)e.NewValue);
        }