DataGrid.SelectionUnit 속성

정의

DataGrid에서 행, 셀 또는 둘 다를 선택할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property System::Windows::Controls::DataGridSelectionUnit SelectionUnit { System::Windows::Controls::DataGridSelectionUnit get(); void set(System::Windows::Controls::DataGridSelectionUnit value); };
public System.Windows.Controls.DataGridSelectionUnit SelectionUnit { get; set; }
member this.SelectionUnit : System.Windows.Controls.DataGridSelectionUnit with get, set
Public Property SelectionUnit As DataGridSelectionUnit

속성 값

DataGridSelectionUnit

DataGrid에서 행, 셀 또는 둘 다를 선택할 수 있는지를 지정하는 열거형 값 중 하나입니다. 등록된 기본값은 FullRow입니다. 값에 영향을 줄 수 있는 요소에 대한 자세한 내용은 DependencyProperty를 참조하십시오.

설명

속성과 SelectionUnit 속성은 SelectionMode 함께 .에 대한 선택 동작을 DataGrid정의합니다.

적용 대상