Xceed.Wpf.Toolkit.PrimitiveTypeCollectionControl.OnTextChanged C# (CSharp) Method

OnTextChanged() private static method

private static OnTextChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
o System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void
    private static void OnTextChanged( DependencyObject o, DependencyPropertyChangedEventArgs e )
    {
      PrimitiveTypeCollectionControl primitiveTypeCollectionControl = o as PrimitiveTypeCollectionControl;
      if( primitiveTypeCollectionControl != null )
        primitiveTypeCollectionControl.OnTextChanged( ( string )e.OldValue, ( string )e.NewValue );
    }

Same methods

PrimitiveTypeCollectionControl::OnTextChanged ( string oldValue, string newValue ) : void

Usage Example

示例#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);
            }
        }