Windows Forms Controls in VSTO

Part of the VSTO For Dummies Cheat Sheet

VSTO contains two namespaces that hold classes that contain Windows Forms controls, which you can use on the Word documents or Excel worksheets. All controls in the Microsoft.Office.Tools.Word.Controls and Microsoft.Office.Tools.Excel.Controls namespaces are derived from the Windows Forms base classes and function in the same way as regular Windows Forms controls.

You can find the following controls in the Microsoft.Office.Tools.Word.Controls namespace:

Button HScrollBar MonthCalendar RichTextBox
CheckBox Label NumericUpDown TextBox
CheckedListBox LinkLabel PictureBox TrackBar
ComboBox ListBox ProgressBar TreeView
DataGridView ListView PropertyGrid VScrollBar
DateTimePicker MaskedTextBox RadioButton WebBrowser
DomainUpDown
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.