Data Binding to Host Controls on Documents

VSTO enables you to bind data to the host controls. In Word, simple data binding is enabled. In simple data binding, you bind a single data element to a property of a control, such as the text property of a Bookmark control. Although you can bind data to an XMLNode control, you cannot do so for an XMLNodes control. This is because XMLNodes is actually a collection of XMLNode controls. Word host controls do not support complex data binding. You will learn more about complex data binding in Chapter 7.

0 0

Post a comment