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