Stylesheet
Class
Definition
Namespace:Telerik.WinForms.Documents.Model.Styles
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class Stylesheet
Inheritance: objectStylesheet
Constructors
C#
public Stylesheet()
Properties
C#
[XamlCompositePropertySerializable]
public List<ListSerializationData> Lists { get; set; }
ListStyles
List<ListStyle>
C#
[XamlCompositePropertySerializable]
public List<ListStyle> ListStyles { get; set; }
Styles
List<StyleDefinition>
C#
[XamlCompositePropertySerializable]
public List<StyleDefinition> Styles { get; set; }
Methods
Copies all styles, list styles and other stylesheet data to the specified Document
Suspends layout updates of RadRichtextBox, which has better performance and uses ApplyStylesheetToDocument(RadDocument) to apply the stylesheet.
C#
public void ApplyStylesheetToRichTextBox(RadRichTextBox richTextBox)
C#
protected virtual void CopyStylesFromDocument(RadDocument document, Func<StyleDefinition, bool> filter = null)
C#
public void ExtractStylesheetFromDocument(RadDocument document, bool customStylesOnly = false)