datagrid in wpf

看板C_Sharp作者 (平凡)時間5年前 (2018/11/03 15:32), 編輯推噓0(003)
留言3則, 2人參與, 5年前最新討論串1/1
請問,我的 datagrid 滑鼠左鍵按column1,然後拉到column3, 此時column1整行會搬到column3之後,這要怎麼關呢? 另外, 滑屬可選 單cell 選,我想把column0所有的row設為不可選,這要怎麼設呢? 不可read我會,但找不到 不可選 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.229.42.245 ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1541230356.A.944.html

11/03 22:43, 5年前 , 1F
1.CanUserReorderColumns 2.要程式控制或自訂元件功能
11/03 22:43, 1F

11/03 22:58, 5年前 , 2F
程式控制的話就隨時把cell的IsSelected=false
11/03 22:58, 2F

11/04 22:19, 5年前 , 3F
感謝
11/04 22:19, 3F
文章代碼(AID): #1RtKyKb4 (C_Sharp)