DataGridView.DataGridViewAccessibleObject.GetChildCount 메서드

정의

액세스 가능 개체에 속한 자식 개체의 수를 반환합니다.

public:
 override int GetChildCount();
public override int GetChildCount ();
override this.GetChildCount : unit -> int
Public Overrides Function GetChildCount () As Integer

반환

Int32

액세스 가능 개체에 속한 자식 개체의 수입니다.

설명

이 메서드는 GetChildCount 표시되는 각 스크롤 막대에 DataGridView대해 1을 더한 열 머리글 행에 대해 1을 더한 표시 행 수를 반환합니다. 컨트롤에 열이 없으면 이 메서드는 항상 0을 반환합니다.

적용 대상

추가 정보