Exemplo n.º 1
0
        private static void OnSelectObjectChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            ScorePropertyGrid propertyGrid = o as ScorePropertyGrid;

            if (propertyGrid != null)
            {
                propertyGrid.OnSelectObjectChanged((ScoreObject)e.OldValue, (ScoreObject)e.NewValue);
            }
        }
Exemplo n.º 2
0
        private static void OnNameColumnWidthChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            ScorePropertyGrid propertyGrid = o as ScorePropertyGrid;

            if (propertyGrid != null)
            {
                propertyGrid.OnNameColumnWidthChanged((double)e.OldValue, (double)e.NewValue);
            }
        }