2011-03-07 2 views

답변

1

어디에서 컨트롤을 찾으시겠습니까 ..? CellEditing 템플릿은 격자가 편집 모드로 들어갈 때만로드됩니다.

확인 다음 링크하고 DataGrid: Help accessing a control defined in a CellEditingTemplate

http://social.msdn.microsoft.com/Forums/en/wpf/thread/e4cc93eb-9ded-4eb1-a7d2-cedda7eedb70

DataGridTemplateColumn with DatePicker requires three clicks to edit the date

답장을
+0

안녕하세요 감사

도움이되는지 확인합니다. 나는 모드를 편집하지 않고 DataGridTemplateColumn에 대한 "삭제"기능을 구현하는 데 어려움을 겪고 있습니다. 사용자가 "Delete"키를 클릭하면 DataGridTemplateColumn에서 내용을 지우려고합니다. "CellTdate"안에 "TextBlock"이 있고 "CellEditingTemplate"에 "TextBox"가 있다는 것을 알고 있습니다. 감사 – Jing