ContentControlStoreUpdatingEventArgs Interface

 

Provides data for the StoreUpdating event of a content control.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

[GuidAttribute("5d9c73b6-b14d-43a0-99eb-6ea91fbd8456")]
public interface class ContentControlStoreUpdatingEventArgs

NameDescription
System_CAPS_pubpropertyContent

Gets the text that is being saved to the custom XML part that is bound to the content control.

The following code example demonstrates event handlers for the StoreUpdating and ContentUpdating events. This example assumes that the document contains a PlainTextContentControl named plainTextContentControl1 that is bound to an element in a custom XML part. For a code example that demonstrates how to bind a content control to an element in a custom XML part, see Walkthrough: Binding Content Controls to Custom XML Parts.

To use this code, paste it into the ThisDocument class in your project. For C#, you must also attach the event handlers to the StoreUpdating and ContentUpdating events of plainTextContentControl1.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: