編輯

共用方式為


DataGridColumnHeaderItemAutomationPeer Constructor

Definition

Initializes a new instance of the DataGridColumnHeaderItemAutomationPeer class.

public:
 DataGridColumnHeaderItemAutomationPeer(System::Object ^ item, System::Windows::Controls::DataGridColumn ^ column, System::Windows::Automation::Peers::DataGridColumnHeadersPresenterAutomationPeer ^ peer);
public DataGridColumnHeaderItemAutomationPeer (object item, System.Windows.Controls.DataGridColumn column, System.Windows.Automation.Peers.DataGridColumnHeadersPresenterAutomationPeer peer);
new System.Windows.Automation.Peers.DataGridColumnHeaderItemAutomationPeer : obj * System.Windows.Controls.DataGridColumn * System.Windows.Automation.Peers.DataGridColumnHeadersPresenterAutomationPeer -> System.Windows.Automation.Peers.DataGridColumnHeaderItemAutomationPeer
Public Sub New (item As Object, column As DataGridColumn, peer As DataGridColumnHeadersPresenterAutomationPeer)

Parameters

item
Object

The Header in the DataGridColumn that is associated with this DataGridColumnHeaderItemAutomationPeer.

column
DataGridColumn

The column that is associated with the Header.

peer
DataGridColumnHeadersPresenterAutomationPeer

The automation peer for the DataGridColumnHeadersPresenter that is associated with the DataGrid.

Applies to