Class BuiltInStyles
Establishes functionality to work with built in styles.
Inheritance
System.Object
BuiltInStyles
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public static class BuiltInStyles
Methods
GetAllPrimaryStyles()
Gets all primary styles.
Declaration
public static IEnumerable<Style> GetAllPrimaryStyles()
Returns
System.Collections.Generic.IEnumerable<Style>
|
GetAllStyles()
Gets all styles.
Declaration
public static IEnumerable<Style> GetAllStyles()
Returns
System.Collections.Generic.IEnumerable<Style>
|
GetAllStyles(StyleType)
Gets all styles.
Declaration
public static IEnumerable<Style> GetAllStyles(StyleType type)
Parameters
StyleType
type
The type. |
Returns
System.Collections.Generic.IEnumerable<Style>
|
GetStyle(String)
Gets built-in style by ID.
Declaration
public static Style GetStyle(string styleId)
Parameters
System.String
styleId
The style ID. |
Returns
Style
The built-in style. |
Exceptions
System.ArgumentException
|
IsBuiltInStyle(String)
Determines whether a style ID is ID of a built-in style.
Declaration
public static bool IsBuiltInStyle(string styleId)
Parameters
System.String
styleId
The style ID. |
Returns
System.Boolean
|