Click or drag to resize
StyleRepository Class
Represents dynamic style repository.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.Flow.Model.StylesStyleRepository

Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow (in Telerik.Windows.Documents.Flow.dll) Version: 2017.2.607.40 (2017.2.607.40)
Syntax
public class StyleRepository

The StyleRepository type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds the specified style.
Public methodAddBuiltInStyle
Adds built-in style. Use IDs from BuiltInStyleNames class.
Public methodClear
Removes all styles from the repository.
Public methodContains
Determines whether there is a style with a given id in the repository.
Public methodGetDefaultStyle
Gets the default style for a given type.
Public methodGetStyle
Gets a style by id.
Public methodRemove(String)
Removes the specified style by style id.
Public methodRemove(Style)
Removes the specified style.
Top
Properties
  NameDescription
Public propertyDocument
Gets the document to which this style collection belongs to.
Public propertyStyles
Gets an enumeration of the styles added to the repository.
Top
See Also