Articles in this section
Category / Section

How to list all the formats in the currently loaded configuration settings in WinForms SyntaxEditor (EditControl)?

1 min read

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)
Please sign in to leave a comment
Access denied
Access denied