ClassCaptionDefinition
Represents a definition for a caption.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class CaptionDefinition
Inheritance: objectCaptionDefinition
Constructors
CaptionDefinition()
Initializes a new instance of the CaptionDefinition class.
Declaration
public CaptionDefinition()
CaptionDefinition(string, NumberingFormat)
Initializes a new instance of the CaptionDefinition class.
Declaration
public CaptionDefinition(string label, NumberingFormat format = NumberingFormat.Arabic)
Parameters
label
The label.
format
The format.
CaptionDefinition(string, NumberingFormat, int, CaptionSeparatorType)
Initializes a new instance of the CaptionDefinition class.
Declaration
public CaptionDefinition(string label, NumberingFormat format, int linkedHeadingLevel, CaptionSeparatorType separator = CaptionSeparatorType.Hyphen)
Parameters
label
The label.
format
The format.
linkedHeadingLevel
The linked heading level.
separator
The separator.
Properties
IsDefault
Gets or sets a value indicating whether this instance is a default caption.
Declaration
[XamlSerializable]
public bool IsDefault { get; set; }
Property Value
true if this instance is default; otherwise, false.
IsLinkedToHeading
Gets or sets a value indicating whether this instance is linked to a heading.
Declaration
[XamlSerializable]
public bool IsLinkedToHeading { get; set; }
Property Value
true if this instance is linked to heading; otherwise, false.
Label
Gets or sets the label.
Declaration
[XamlSerializable]
public string Label { get; set; }
Property Value
The label.
LinkedHeadingLevel
Gets or sets the linked heading level.
Declaration
[XamlSerializable]
public int LinkedHeadingLevel { get; set; }
Property Value
The linked heading level.
NumberingFormat
Gets or sets the numbering format.
Declaration
[XamlSerializable]
public NumberingFormat NumberingFormat { get; set; }
Property Value
The numbering format.
SeparatorType
Gets or sets the type of the separator.
Declaration
[XamlSerializable]
public CaptionSeparatorType SeparatorType { get; set; }
Property Value
The type of the separator.