Class DocumentList
Inheritance
System.Object
DocumentList
Namespace: Telerik.Windows.Documents.Lists
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class DocumentList : Object
Constructors
DocumentList(ListStyle, RadDocument, Nullable<Int32>)
Declaration
public DocumentList(ListStyle style, RadDocument document, Nullable<int> id = null)
Parameters
ListStyle
style
|
RadDocument
document
|
System.Nullable<System.Int32>
id
|
DocumentList(ListStyle, RadDocument, Nullable<Int32>, Boolean)
Declaration
public DocumentList(ListStyle style, RadDocument document, Nullable<int> id, bool shouldCreateNewDocumentListOnInsert)
Parameters
ListStyle
style
|
RadDocument
document
|
System.Nullable<System.Int32>
id
|
System.Boolean
shouldCreateNewDocumentListOnInsert
|
Properties
ActualStyle
Document
FirstParagraph
ID
Declaration
public int ID { get; }
Property Value
System.Int32
|
ParagraphCount
Declaration
public int ParagraphCount { get; }
Property Value
System.Int32
|
Paragraphs
Declaration
public IEnumerable<Paragraph> Paragraphs { get; }
Property Value
System.Collections.Generic.IEnumerable<Paragraph>
|
ParagraphsCount
Declaration
protected int ParagraphsCount { get; }
Property Value
System.Int32
|
Style
StyleId
Declaration
public int StyleId { get; }
Property Value
System.Int32
|
Methods
AddParagraph(Paragraph)
AddParagraph(Paragraph, Int32)
Declaration
public void AddParagraph(Paragraph paragraph, int listLevel)
Parameters
Paragraph
paragraph
|
System.Int32
listLevel
|
ChangeLeftIndent(Double)
Declaration
public void ChangeLeftIndent(double indent)
Parameters
System.Double
indent
|
DecreaseLeftIndent()
Declaration
public void DecreaseLeftIndent()
GetProperListInfo(RadDocument)
Declaration
public static DocumentList GetProperListInfo(RadDocument document)
Parameters
RadDocument
document
|
Returns
DocumentList
|
IncreaseLeftIndent()
Declaration
public void IncreaseLeftIndent()
RemoveParagraph(Paragraph, Boolean)
Declaration
public void RemoveParagraph(Paragraph paragraph, bool removingFromOldList = false)
Parameters
Paragraph
paragraph
|
System.Boolean
removingFromOldList
|