[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.InsertList

InsertList Method

InsertList(string, string[], string)

Inserts a list at the cursor location. If text is selected, it is overwritten.

Declaration
[Obsolete("This method is deprecated, please, use InsertListAsync instead.")]
public void InsertList(string type, string[] entries = null, string attributes = null)
<Obsolete("This method is deprecated, please, use InsertListAsync instead.")>
Public Sub InsertList(type As String, Optional entries As String() = Nothing, Optional attributes As String = Nothing)
Parameters
Type Name Description
string type

Specifies the type of list by indicating the bullet type. One of default, disc, circle, square, none, 1, A, a, I, i."

string[] entries

A string array supplying the entries for the list. Each entry can include html tags for bold, underline, etc. Attributes can be added to an entry by appending them to the entry text after a vertical bar. If null, the selected text will be included as an entry.

string attributes

Optional attributes for the list.