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

OnItemsSourceChanged() private static method

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

Same methods

PrimitiveTypeCollectionControl::OnItemsSourceChanged ( IList oldValue, IList newValue ) : void

Usage Example

示例#1
0
        private static void OnItemsSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PrimitiveTypeCollectionControl primitiveTypeCollectionControl = o as PrimitiveTypeCollectionControl;

            if (primitiveTypeCollectionControl != null)
            {
                primitiveTypeCollectionControl.OnItemsSourceChanged(( IList )e.OldValue, ( IList )e.NewValue);
            }
        }