DataGridColumn.IsReadOnly 속성

정의

열의 셀을 편집할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool IsReadOnly { bool get(); void set(bool value); };
public bool IsReadOnly { get; set; }
member this.IsReadOnly : bool with get, set
Public Property IsReadOnly As Boolean

속성 값

Boolean

열의 셀을 편집할 수 없으면 true이고, 그렇지 않으면 false입니다. 등록된 기본값은 false입니다. 값에 영향을 줄 수 있는 요소에 대한 자세한 내용은 DependencyProperty를 참조하십시오.

설명

설정 된 IsReadOnly 속성을 true 읽기 전용으로 개별 열의 모든 셀을 합니다. 설정 된 DataGrid.IsReadOnly 속성을 true 모든 셀을는 DataGrid 읽기 전용입니다. 설정 된 DataGridCell.IsReadOnly 속성을 true 읽기 전용으로 개별 셀을 확인 합니다. 설정 간에 충돌이 있는 경우는 DataGrid, 열 또는 셀 수준에서 값 true 의 값 보다 우선 false합니다.

적용 대상

추가 정보