DataGridView.AccessibilityNotifyCurrentCellChanged(Point) 메서드

정의

새 셀이 현재 셀이 될 때 액세스 가능 클라이언트 애플리케이션에 알립니다.

protected:
 virtual void AccessibilityNotifyCurrentCellChanged(System::Drawing::Point cellAddress);
protected virtual void AccessibilityNotifyCurrentCellChanged (System.Drawing.Point cellAddress);
abstract member AccessibilityNotifyCurrentCellChanged : System.Drawing.Point -> unit
override this.AccessibilityNotifyCurrentCellChanged : System.Drawing.Point -> unit
Protected Overridable Sub AccessibilityNotifyCurrentCellChanged (cellAddress As Point)

매개 변수

cellAddress
Point

새로운 현재 셀의 행 및 열 인덱스를 나타내는 Point입니다.

예외

cellAddressX 속성 값이 0보다 작거나 컨트롤의 열 수에서 1을 뺀 값보다 큽니다.

또는 cellAddressY 속성 값이 0보다 작거나 컨트롤의 행 수에서 1을 뺀 값보다 큽니다.

설명

이 메서드는 지정된 행 및 열 인덱스를 매개 변수로 objectID 변환하고 childID 열거형의 값과 Selection 값을 사용하여 Focus 메서드 오버로드를 AccessibleEvents 두 번 호출 AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) 합니다. objectID childID 표시 순서로 표시된 행과 열만 번호 매기고, 행 또는 열 머리글이 표시되는 경우 계산하고, 1부터 시작하여 결정됩니다. 예를 들어 열 머리글이 표시되는 objectID 경우 첫 번째 비헤이더 행은 2입니다.

상속자 참고

컨트롤을 사용자 지정하고 현재 셀이 DataGridView 변경되는 방법과 시기를 수정할 때 이 메서드를 재정의합니다. 예를 들어 여러 셀을 단일 셀로 병합하는 사용자 지정 행 형식을 만들고 그에 따라 탐색을 수정하는 경우 이 메서드를 재정의하여 변경 내용에 대한 접근성 지원을 제공할 수 있습니다.

적용 대상

추가 정보