OnTextChanged() private static method

private static OnTextChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
o System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void
示例#1
0
        private static void OnTextChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PrimitiveTypeCollectionControl primitiveTypeCollectionControl = o as PrimitiveTypeCollectionControl;

            if (primitiveTypeCollectionControl != null)
            {
                primitiveTypeCollectionControl.OnTextChanged(( string )e.OldValue, ( string )e.NewValue);
            }
        }