다음을 통해 공유


DataGridViewCell.DataGridViewCellAccessibleObject.Select 메서드

정의

선택 영역을 수정하거나 접근성 있는 개체의 키보드 포커스를 이동합니다.

public:
 override void Select(System::Windows::Forms::AccessibleSelection flags);
public override void Select(System.Windows.Forms.AccessibleSelection flags);
override this.Select : System.Windows.Forms.AccessibleSelection -> unit
Public Overrides Sub Select (flags As AccessibleSelection)

매개 변수

flags
AccessibleSelection

값 중 AccessibleSelection 하나입니다.

예외

속성 값은 Owner .입니다 null.

설명

다음 표에서는 각 flags 값에 대해 메서드에서 Select 수행하는 작업에 대해 설명합니다.

매개 변수 값 조치
TakeFocus DataGridView 포커스를 취합니다.
TakeSelection DataGridViewCell.DataGridViewCellAccessibleObject 소유는 DataGridViewCell 포커스를 받습니다.
AddSelection 속성 DataGridViewCell 에 추가됩니다 SelectedCells .
RemoveSelection 속성 DataGridViewCell 에서 SelectedCells 제거됩니다.
다른 AccessibleSelection 모든 값 아무 작업도 수행되지 않습니다.

적용 대상

추가 정보