Click or drag to resize
StyleCollectionGetValueOrNull Method
Get style from the repository by name.

Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public StyleDefinition GetValueOrNull(
	string styleName,
	bool autoAddBuiltInStyles = true
)

Parameters

styleName
Type: SystemString
Name of the style.
autoAddBuiltInStyles (Optional)
Type: SystemBoolean
True to automatically add built in styles into the repository.

Return Value

Type: StyleDefinition
See Also