internal BoundColumn(ColumnSynchronizationManager owner, SynchronizationKey key)
     : base(owner, key)
 {
     if (key.MasterColumn == null)
     {
         throw new ArgumentException("The master column is not set.", "key");
     }
 }
 internal UnboundColumn(ColumnSynchronizationManager owner, SynchronizationKey key)
     : base(owner, key)
 {
     if (key.MasterColumn != null)
     {
         throw new ArgumentException("The master column should not be set.", "key");
     }
 }
Beispiel #3
0
            internal DeferSynchronizationHelper(ColumnSynchronizationManager owner)
            {
                if (owner == null)
                {
                    throw new ArgumentNullException("owner");
                }

                m_owner = owner;

                Interlocked.Increment(ref owner.m_deferSynchronizationCount);
            }
            protected SynchronizationEntry(ColumnSynchronizationManager owner, SynchronizationKey key)
            {
                if (owner == null)
                {
                    throw new ArgumentNullException("owner");
                }

                if (key == null)
                {
                    throw new ArgumentNullException("key");
                }

                m_owner = owner;
                m_key   = key;
            }
    public DetailConfiguration()
    {
      var columns = new ColumnCollection( this.DataGridControl, this );

      this.SetColumns( columns );
      this.Columns.CollectionChanged += new NotifyCollectionChangedEventHandler( this.OnColumnsCollectionChanged );
      VisibilityChangedEventManager.AddListener( this.Columns, this );

      this.SetVisibleColumns( new ReadOnlyColumnCollection() );

      m_columnsByVisiblePosition = new HashedLinkedList<ColumnBase>();
      m_columnSynchronizationManager = new ColumnSynchronizationManager( this );

      this.SetHeaders( new ObservableCollection<DataTemplate>() );
      this.SetFooters( new ObservableCollection<DataTemplate>() );

      this.SetGroupLevelDescriptions( new GroupLevelDescriptionCollection() );
      this.SetDetailConfigurations( new DetailConfigurationCollection( this.DataGridControl, this ) );
      CollectionChangedEventManager.AddListener( this.DetailConfigurations, this );

    }
      internal DeferSynchronizationHelper( ColumnSynchronizationManager owner )
      {
        if( owner == null )
          throw new ArgumentNullException( "owner" );

        m_owner = owner;

        Interlocked.Increment( ref owner.m_deferSynchronizationCount );
      }
 internal DeferState(ColumnSynchronizationManager target)
 {
     Debug.Assert(target != null);
     m_target = target;
 }