The C1Editor control features three editor modes: Design, Source, and Preview. You can determine which of these views users will see initially by setting the Mode property.
To write code in Visual Basic
Visual Basic |
Copy Code |
---|---|
Imports C1.Win.C1Editor |
To write code in C#
C# |
Copy Code |
---|---|
using C1.Win.C1Editor; |
To write code in Visual Basic
Visual Basic |
Copy Code |
---|---|
C1Editor1.Mode = EditorMode.Source |
To write code in C#
C# |
Copy Code |
---|---|
c1Editor1.Mode = EditorMode.Source; |