Typically applications show such styles in easily accessible part of the UI. IsPrimary: Specifies that the style is important for the document. This setting does not allow the formatting associated with the style to be changed automatically by an application. IsCustom: Specifies that the style is user-defined and it is not automatically generated by an application. This property is used in conjunction with the style type to determine the style, which is applied to objects that do not have explicitly applied a style. IsDefault: Specifies that the style is the default style for its style type. This property can point only from paragraph style to character style and vice versa. LinkedStyleId: The ID of a style to which the current style is linked. NextStyleId: The ID of the style, which is automatically applied by an editing application to a new paragraph added after the paragraph with the current style applied to it. Name: The name of the style, which can be used in an application's user interface.īasedOnStyleId: The ID of the parent (base) style, which the current style inherits. It can be Character, Paragraph or Table and determines the types of document elements to which the style is applied. StyleType: The type of the style, described with StyleType enumeration. The value of this property will be associated with the StyleId property of the corresponding document element. This property cannot be set after adding the style in a StyleRepository, in such situations InvalidOperationException is thrown. All styles in a StyleRepository should have unique IDs. Each style contains the following properties: The class containing the styling structure is called Style. RadFlowDocument keeps its styles in StyleRepository object accessible through the RadFlowDocument.StyleRepository property. Styles allow formatting properties to be stored and managed independently from the content. They provide rich editing capabilities with consistent look over different content inside the document. RadFlowDocument includes repository of Style objects which contain sets of character, paragraph or table style properties.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |