BrightIdeasSoftware.ObjectListView.SetObjects C# (CSharp) Method

SetObjects() public method

Set the collection of objects that will be shown in this list view.
The list is updated immediately
public SetObjects ( IEnumerable collection ) : void
collection IEnumerable The objects to be displayed
return void
        public virtual void SetObjects(IEnumerable collection)
        {
            this.SetObjects(collection, false);
        }

Same methods

ObjectListView::SetObjects ( IEnumerable collection, bool preserveState ) : void

Usage Example

Beispiel #1
0
 private void StringListPutHelper(ObjectListView list_view, List<string> l, object row_object, object value)
 {
   for (int i = 0, count = l.Count; i < count; ++i)
   {
     if (Object.ReferenceEquals(row_object, l[i]))
     {
       l[i] = (string)value;
       break;
     }
   }
   list_view.SetObjects(l, true);
 }
All Usage Examples Of BrightIdeasSoftware.ObjectListView::SetObjects
ObjectListView