TextBoxï¼ã¾ãã¯RichTextBoxï¼ã§é¸æããã¦ããæååã®åå¾ã¨è¨å®ããã¹ãããã¯ã¹ã§é¸æããã¦ããæååã®åå¾ããã¹ãããã¯ã¹ï¼ã¾ãã¯ãªããããã¹ãããã¯ã¹ï¼ã§é¸æããã¦ããæååã¯ãããã¹ãããã¯ã¹ã³ã³ããã¼ã«ã®SelectedTextããããã£ã§åå¾ã§ãã¾ããã¾ããããã¹ãããã¯ã¹ã§é¸æããã¦ããéå§ä½ç½®ã¯SelectionStartããããã£ã§ãé·ãã¯SelectionLengthããããã£ã§åå¾ãã§ãã¾ããæååãé¸æããã¦ããªãæãSelectionStartããããã£ã¯ã«ã¬ããï¼ã«ã¼ã½ã«ï¼ã®ä½ç½®ï¼æ¿å ¥ä½ç½®ï¼ã示ãã¾ãã ä¾ãã°ãTextBoxã®å 容ããABCDEFGãã§ããCDEããé¸æããã¦ããæã¯ãSelectedTextããCDEããSelectionStartãã2ããSelectionLengthãã3ãã¨ãªãã¾ã 'TextBox1ã§é¸æããã¦ããæå

{{#tags}}- {{label}}
{{/tags}}