System.Windows.Forms.DataGridColumnStyle.CreateHeaderAccessibleObject Method

Gets the System.Windows.Forms.AccessibleObject for the column.

Syntax

protected virtual AccessibleObject CreateHeaderAccessibleObject ()

Returns

An System.Windows.Forms.AccessibleObject for the column.

Remarks

This property is called by a System.Windows.Forms.DataGridTableStyle when its System.Windows.Forms.DataGrid property changes. This property is required because any child controls hosted by a System.Windows.Forms.DataGridColumnStyle must be added to the System.Windows.Forms.DataGrid control's ControlCollection.

Requirements

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