Class CaptionDefinition
Represents a definition for a caption.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Documents.dll
Syntax
public class CaptionDefinition
Constructors
CaptionDefinition()
CaptionDefinition(String, NumberingFormat)
Initializes a new instance of the CaptionDefinition class.
Declaration
public CaptionDefinition(string label, NumberingFormat format = NumberingFormat.Arabic)
Parameters
System.String
label
The label. |
NumberingFormat
format
The format. |
CaptionDefinition(String, NumberingFormat, Int32, CaptionSeparatorType)
Initializes a new instance of the CaptionDefinition class.
Declaration
public CaptionDefinition(string label, NumberingFormat format, int linkedHeadingLevel, CaptionSeparatorType separator = CaptionSeparatorType.Hyphen)
Parameters
System.String
label
The label. |
NumberingFormat
format
The format. |
System.Int32
linkedHeadingLevel
The linked heading level. |
CaptionSeparatorType
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
System.Boolean
|
IsLinkedToHeading
Gets or sets a value indicating whether this instance is linked to a heading.
Declaration
[XamlSerializable]
public bool IsLinkedToHeading { get; set; }
Property Value
System.Boolean
|
Label
Gets or sets the label.
Declaration
[XamlSerializable]
public string Label { get; set; }
Property Value
System.String
The label. |
LinkedHeadingLevel
Gets or sets the linked heading level.
Declaration
[XamlSerializable]
public int LinkedHeadingLevel { get; set; }
Property Value
System.Int32
The linked heading level. |
NumberingFormat
Gets or sets the numbering format.
Declaration
[XamlSerializable]
public NumberingFormat NumberingFormat { get; set; }
Property Value
NumberingFormat
The numbering format. |
SeparatorType
Gets or sets the type of the separator.
Declaration
[XamlSerializable]
public CaptionSeparatorType SeparatorType { get; set; }
Property Value
CaptionSeparatorType
The type of the separator. |