Click or drag to resize
StyleRepositoryAddBuiltInStyle Method
Adds built-in style. Use IDs from BuiltInStyleNames class.

Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow (in Telerik.Windows.Documents.Flow.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
Syntax
public Style AddBuiltInStyle(
	string styleId
)

Parameters

styleId
Type: SystemString
The ID of the built-in style.

Return Value

Type: Style
The built-in style, added to the repository.
Exceptions
ExceptionCondition
ArgumentExceptionstyleId is not an ID of a built-in style.
See Also