Northwoods.GoSilverlight 1.2.2 Assembly
RaiseTemplatesChanged Method
See Also  Send Feedback
Northwoods.GoXam Namespace > Diagram Class : RaiseTemplatesChanged Method

propertyname
the name of the modified dictionary property
Raise the TemplatesChanged event.

Syntax

Visual Basic (Declaration) 
Public Sub RaiseTemplatesChanged( _
   ByVal propertyname As String _
) 
C# 
public void RaiseTemplatesChanged( 
   string propertyname
)

Parameters

propertyname
the name of the modified dictionary property

Remarks

You should call this after dynamically modifying the contents of one of the following dictionaries: Diagram.NodeTemplateDictionary, Diagram.GroupTemplateDictionary, or Diagram.LinkTemplateDictionary. Pass the name of one of those three properties as the argument.

This method is called automatically when you set any of the Diagram properties that are of type DataTemplate or DataTemplateDictionary.

Requirements

See Also

© 2010 All Rights Reserved.