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 |
dummies
Source:http://www.dummies.com/how-to/content/windows-forms-controls-in-vsto.html
No comments:
Post a Comment