title: changing font style of textbox
body: <p>I want to change font style for a textbox when I click the button.For this my code is below and it is okay;</p>
  
  <pre><code> protected void Button1_Click(object sender, System.EventArgs e)  
  {  
      TextBox1.Font.Size = FontUnit.XLarge;  
      TextBox1.ForeColor = System.Drawing.Color.Crimson;  
      TextBox1.BackColor = System.Drawing.Color.Snow;  
      TextBox1.BorderColor = System.Drawing.Color.HotPink;  
  
  }  
  </code></pre>
  
  <p>But Can I do where I select of write which is in the textbox it changes only that part.For example textbox1.Text="Computer Programs" and the user select only "Computer" part of textbox1.Only "Computer" part must be changed.</p>