Click or drag to resize
StyleDefinition Class
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.Model.StylesStyleDefinition

Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class StyleDefinition : INotifyStylePropertyChange, 
	IElementWithStyle, INotifyPropertyChanged

The StyleDefinition type exposes the following members.

Constructors
  NameDescription
Public methodStyleDefinition
Public methodStyleDefinition(DocumentElement)
Creates a new instance of StyleDefinition of StyleType corresponding to specific DocumentElement
Public methodStyleDefinition(StyleDefinition)
Creates a new instance of StyleDefinition and copies all relevant property values from the specified StyleDefinition instance.
Public methodStyleDefinition(StyleType)
Creates a new instance of StyleDefinition of corresponding StyleType
Public methodStyleDefinition(String, DocumentElement)
Creates a new instance of StyleDefinition of StyleType corresponding to specific DocumentElement, with specified Name
Public methodStyleDefinition(String, StyleType)
Creates a new instance of StyleDefinition of corresponding StyleType and Name (style id).
Top
Methods
  NameDescription
Public methodClear
Public methodClearPropertyValue
Public methodCopyPropertiesFrom
Public methodGetProperty
Metod provided for backward compatibility. Please use the provided properties instead.
Public methodGetPropertyValue
Metod provided for backward compatibility. Please use the provided properties instead.
Public methodStatic memberGetStyleTypeForElement
Public methodIsPropertySet
Public methodMergePropertiesWith
Protected methodOnDisplayNameChanged
Protected methodOnIsPrimaryChanged
Protected methodOnNameChanged
Protected methodOnStylePropertyChanged
Protected methodOnStylePropertyChanging
Public methodSetPropertyValue
Metod provided for backward compatibility. Please use the provided properties instead.
Public methodToString
Gets the string representation of this StyleDefinition that can be used to display information about property values.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasLinkedStyleOfType (Defined by ExtensionMethods.)
Top
Properties
  NameDescription
Public propertyBasedOn
Gets or sets the base StyleDefinition
Public propertyBasedOnName
Gets or sets the name of base style
Public propertyConditionalTableStylesCollection
Public propertyConditionalTableStylesList
Property used for serialization only. Use ConditionalTableStylesCollection instead.
Public propertyDescription
Public propertyDisplayName
Gets or sets value corresponding to the name of the style, that would be displayed in Styles dialog, style gallery and other parts of the UI
Public propertyDocument
Gets RadDocument that owns this StyleDefinition instance.
Public propertyIsCustom
Gets or sets value indicating whether the style is custom user-created
Public propertyIsDefault
Gets or sets value indicating whether the style will be applied by default to the document elements of type corresponding to style's Type.
Public propertyIsPrimary
Gets or sets value indicating whether the style will be visible in the styles gallery.
Public propertyLinkedStyle
Gets or sets linked StyleDefinition. Only Paragraph and Character types of styles can be linked
Public propertyLinkedStyleName
Gets or sets the name of the linked style.
Public propertyName
Gets or sets value corresponding to the unique name of the style, that would be used to identify style in StyleRepository collection in the document
Public propertyNextStyleName
Gets or sets the style which shall automatically be applied to a new paragraph created following a paragraph with this style.
Public propertyParagraphProperties
Gets properties related to Paragraphs in the document
Public propertyParagraphStyle
Public propertySpanProperties
Gets properties related to Spans in the document
Public propertySpanStyle
Public propertyTableCellProperties
Gets properties related to Table-cells in the document
Public propertyTableCellStyle
Public propertyTableProperties
Gets properties related to Tables in the document
Public propertyTableRowProperties
Gets properties related to Table-rows in the document
Public propertyTableRowStyle
Public propertyTableStyle
Public propertyType
Gets or sets StyleType corresponding to the type of document elements this style should be applied to.
Public propertyUIPriority
Gets or sets the UI priority of the style. Negative values will be transformed to zero (0);
Top
Events
See Also