Class RichStyleDefinition
- Namespace
- RichEdit.Core
- Assembly
- RichEdit.Core.dll
A reusable document-owned style with explicit inheritance.
public sealed record RichStyleDefinition : IEquatable<RichStyleDefinition>
- Inheritance
-
RichStyleDefinition
- Implements
- Inherited Members
Constructors
RichStyleDefinition(RichStyleId, string, RichStyleKind)
A reusable document-owned style with explicit inheritance.
public RichStyleDefinition(RichStyleId Id, string Name, RichStyleKind Kind)
Parameters
IdRichStyleIdNamestringKindRichStyleKind
Properties
BasedOn
Gets the optional base style of the same kind.
public RichStyleId? BasedOn { get; init; }
Property Value
Character
Gets cascading character properties.
public RichCharacterStyle Character { get; init; }
Property Value
Id
public RichStyleId Id { get; init; }
Property Value
Kind
public RichStyleKind Kind { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
NextStyle
Gets the paragraph style to use after splitting a paragraph. Null retains this style.
public RichStyleId? NextStyle { get; init; }
Property Value
Paragraph
Gets cascading paragraph properties, for paragraph styles.
public RichParagraphStyle Paragraph { get; init; }