How to list all the formats in the currently loaded configuration settings in WinForms SyntaxEditor (EditControl)?
Format list
You could list all the formats in the currently loaded configuration settings using the following code snippets.
C#
ArrayList formatsList = new ArrayList();
foreach( ISnippetFormat format in (FormatManager)editControl1.Language )
{
formatsList.Add(format);
}
VB
Dim formatsList As ArrayList = New ArrayList() For Each format In CType(editControl1.Language, FormatManager) formatsList.Add(format) Next format