Gets a value indicating whether the System.Windows.Forms.GridColumnStylesCollection contains the specified System.Windows.Forms.DataGridColumnStyle.
- column
- The desired System.Windows.Forms.DataGridColumnStyle.
true if the collection contains the System.Windows.Forms.DataGridColumnStyle; otherwise, false.
Use the GridColumnStylesCollection.Contains(System.ComponentModel.PropertyDescriptor) method to determine if a particular System.Windows.Forms.DataGridColumnStyle exists before invoking the GridColumnStylesCollection.Remove(DataGridColumnStyle) method to remove the item. If you need to know the index of a particular System.Windows.Forms.DataGridColumnStyle, use the GridColumnStylesCollection.IndexOf(DataGridColumnStyle) method.