Articles in this section

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

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied