public ListViewItemCollection(ListView owner)
            {
                // Kept for APPCOMPAT reasons.
                // In Whidbey this constructor is a no-op.

                // initialize the inner list w/ a dummy list.
                innerList = new ListViewNativeItemCollection(owner);
            }
Beispiel #2
0
 internal ListViewItemCollection(IInnerList innerList) {
     Debug.Assert(innerList != null, "Can't pass in null innerList");
     this.innerList = innerList;
 }
Beispiel #3
0
            /// <include file='doc\ListView.uex' path='docs/doc[@for="ListView.ListViewItemCollection.ListViewItemCollection"]/*' />
            /// <devdoc>
            ///    <para>[To be supplied.]</para>
            /// </devdoc>
            public ListViewItemCollection(ListView owner) {
                // Kept for APPCOMPAT reasons.
                // In Whidbey this constructor is a no-op.

                //vsw 481554: initialize the inner list w/ a dummy list.
                this.innerList = new ListViewNativeItemCollection(owner);
            }
 internal ListViewItemCollection(IInnerList innerList)
 {
     this.lastAccessedIndex = -1;
     this.innerList = innerList;
 }
 public ListViewItemCollection(System.Windows.Forms.ListView owner)
 {
     this.lastAccessedIndex = -1;
     this.innerList = new System.Windows.Forms.ListView.ListViewNativeItemCollection(owner);
 }
 internal ListViewItemCollection(IInnerList innerList)
 {
     Debug.Assert(innerList is not null, "Can't pass in null innerList");
     this.innerList = innerList;
 }