Set Font, Color and so on RRS feed

  • Question

  • Hi
    I am creating a window application in which i want to create a Excel Type of tool bar. so that from there if i select some font the font for the particular row shoud be updated for that...

    Tell me how can i do this...
    Friday, April 17, 2009 6:42 AM


  • You can use the FontDialog box which has all the options to change the Font.

    Or you can also change the Font programatically by setting the Font programtically of the Font Class

    TxtBox.Font = new Font("Arial",12,FontStyle.Bold);


    Ganesh Ranganathan
    [Please mark the post as answer if you find it helpful]

    • Proposed as answer by Kira Qian Monday, April 20, 2009 6:27 AM
    • Marked as answer by Kira Qian Thursday, April 23, 2009 6:49 AM
    Friday, April 17, 2009 2:31 PM