TableOfContentsField
Class
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class TableOfContentsField : CodeBasedField, ISupportInitialize
Inheritance: objectFieldCodeBasedFieldTableOfContentsField
Implements:
Inherited Members
Constructors
C#
public TableOfContentsField()
Fields
C#
public static readonly FieldPropertyDefinition AlignmentStringProperty
C#
public static readonly FieldPropertyDefinition CaptionNameProperty
C#
public static readonly string DefaultAlignmentString
C#
public static readonly string ErrorString
C#
public static readonly string InvalidHeadingLevelRangeErrorString
C#
public static readonly FieldPropertyDefinition OutlineLevelsInRangeProperty
C#
public static readonly FieldPropertyDefinition TCEntryProperty
C#
public static readonly FieldPropertyDefinition TCLevelsInRangeProperty
Properties
C#
[XamlSerializable]
public string AlignmentString { get; set; }
C#
[XamlSerializable]
public bool AlignPageNumbers { get; set; }
C#
[XamlSerializable]
public string CaptionName { get; set; }
C#
[XamlSerializable]
public bool DontShowPageNumbers { get; set; }
Gets the name of the field type.
C#
public override string FieldTypeName { get; }
Overrides:
C#
[XamlSerializable]
public bool HyperlinkEntries { get; set; }
C#
[XamlSerializable]
public bool IncludeCaptions { get; set; }
C#
[XamlSerializable]
public bool IncludeTCEntries { get; set; }
C#
[XamlSerializable]
public string OutlineLevelsInRange { get; set; }
C#
[XamlSerializable]
public string TCLevelsInRange { get; set; }
C#
[XamlSerializable]
public bool UseOutlineLevelsInRange { get; set; }
C#
[XamlSerializable]
public bool UseParagraphsOutlineLevels { get; set; }
C#
[XamlSerializable]
public bool UseTCLevelsInRange { get; set; }
Methods
Builds the field-specific parts of the code fragment, using the current CodeBuilder.
C#
protected override void BuildCodeOverride()
Overrides:
Copies all properties from another field of the same type.
C#
public override void CopyPropertiesFrom(Field fromField)
The other field, which has to be of the same type as the current instance.
Overrides:
Copies the field-specific properties from a FieldCodeExpression.
C#
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
The field code expression.
Overrides:
Creates a new instance of the current field class.
Builds the result fragment of the field.
C#
protected override DocumentFragment GetResultFragment()
The result fragment.
Overrides: