15. Writing a Template Assistant : How You Can Ensure Compatibility Between the Assistant and ApplyTemplate : How You Can Use ApplyTemplate on a Frame
 
Share this page                  
How You Can Use ApplyTemplate on a Frame
The need to use the ApplyTemplate utility on a generated frame arises in the following situations:
When the static functionality provided by a frame template has changed, and the user wants to fold these changes into a frame that has already been generated
When the user wants to change the portion of a generated frame created by a specific frame template assistant by running the assistant again
In both these cases, however, it is desirable for the ApplyTemplate utility to make its changes without affecting any changes made to the frame by the user subsequent to its creation.