DekGenius.com
[ Team LiB ] Previous Section Next Section

GridTableStylesCollectionmarshal by reference

System.Windows.Forms (system.windows.forms.dll)class

This typed collection class represents the list of DataGridTableStyle objects in a DataGrid object. As you might expect from a collection, you can Add() and Remove() objects, find the IndexOf() a particular object, or the Item at a particular index (this is the indexer property).

See DataGrid for more information about columns, tables, and grids.

public class GridTableStylesCollection : BaseCollection : IList {
// Public Instance Properties
   public DataGridTableStyle this{get; }
   public DataGridTableStyle this{get; }
// Protected Instance Properties
   protected override ArrayList List{get; }
// overrides BaseCollection
// Public Instance Methods
   public virtual int Add(DataGridTableStyle table);
   public virtual void AddRange(DataGridTableStyle[ ] tables);
   public void Clear();  // implements IList
   public bool Contains(DataGridTableStyle table);
   public bool Contains(string name);
   public void Remove(DataGridTableStyle table);
   public void RemoveAt(int index);  // implements IList
// Protected Instance Methods
   protected void OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs ccevent);
// Events
   public event CollectionChangeEventHandler CollectionChanged;
}

Hierarchy

System.Object System.MarshalByRefObject BaseCollection(System.Collections.ICollectio, System.Collections.IEnumerable) GridTableStylesCollection(System.Collections.IList)

Returned By

DataGrid.TableStyles

    [ Team LiB ] Previous Section Next Section