DataGridã§ä»»æã®ã»ã«ã«ãã©ã¼ã«ã¹ã移åããæ¹æ³ãåãããã«æ©ãã ã®ã§ãç°¡åã«ã¾ã¨ãã¦ã¿ã¾ããã ã¾ããä»ã®ã³ã³ããã¼ã«ã«ãã©ã¼ã«ã¹ããããã¨ãèæ ®ãã¦Focus()ã§DataGridèªä½ã«ãã©ã¼ã«ã¹ã移ãã¾ãã次ã«SelectedIndexããããã£ã«å¯¾è±¡ã»ã«ã®ããè¡ã®ã¤ã³ããã¯ã¹(0ããå§ã¾ãå¤)ãè¨å®ãã¦è¡ãé¸æç¶æ ã«ãã¾ãã æå¾ã«CurrentCellããããã£ã«ç§»åå ã»ã«ã®æ å ±ãè¨å®ããã®ã§ããããã®ããããã£ã«ã¯DataGridCellã§ã¯ãªãDataGridCellInfoãªãã¸ã§ã¯ãã渡ããªããã°ãªãã¾ãããè¨å®å¤ã¯æ¬¡ã®ããã«ãã¦çæãã¾ãã DataGridCellInfo cellInfo = new DataGridCellInfo(dataGrid.Items[row], dataGrid.Columns[column]); ä¸è¨3ã¹ããããè¸ããã¨ã§ä»»æã®
{{#tags}}- {{label}}
{{/tags}}