System.Windows.Forms.GridColumnStylesCollection.Contains Method

Gets a value indicating whether the System.Windows.Forms.GridColumnStylesCollection contains a System.Windows.Forms.DataGridColumnStyle associated with the specified System.ComponentModel.PropertyDescriptor.

Syntax

public bool Contains (System.ComponentModel.PropertyDescriptor propertyDescriptor)

Parameters

propertyDescriptor
The System.ComponentModel.PropertyDescriptor associated with the desired System.Windows.Forms.DataGridColumnStyle.

Returns

true if the collection contains the System.Windows.Forms.DataGridColumnStyle; otherwise, false.

Remarks

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0