IEditorFormatMap.SetProperties(String, ResourceDictionary)
IEditorFormatMap.SetProperties(String, ResourceDictionary)
IEditorFormatMap.SetProperties(String, ResourceDictionary)
IEditorFormatMap.SetProperties(String, ResourceDictionary)
Method
Definition
Sets the ResourceDictionary of a key.
public:
void SetProperties(System::String ^ key, System::Windows::ResourceDictionary ^ properties);
public void SetProperties (string key, System.Windows.ResourceDictionary properties);
abstract member SetProperties : string * System.Windows.ResourceDictionary -> unit
Public Sub SetProperties (key As String, properties As ResourceDictionary)
Parameters
The new ResourceDictionary of properties.
Remarks
Setting the text properties will cause the FormatMappingChanged event to be raised.
If the ResourceDictionary set does not contain the expected properties, the consumer of the properties may throw an exception.