Class ThemeKeys
Represents a centralized collection of theme-related visual properties used for update the markdown text elements such as paragraphs, tables, links, code blocks, and quote.
Inheritance
System.Object
ThemeKeys
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.UI.Xaml.Markdown
Assembly: Syncfusion.SfMarkdownViewer.WPF.dll
Syntax
public class ThemeKeys : DependencyObject, INotifyPropertyChanged
Constructors
ThemeKeys()
Declaration
public ThemeKeys()
Properties
BlockQuoteBorderBrush
Gets or sets the borderbrush value for the blockquote.
Declaration
public SolidColorBrush BlockQuoteBorderBrush { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.SolidColorBrush |
ParagraphForeground
Foreground property for the paragraph, headers, list, link, inlinequote, blockquote, table data content.
Declaration
public SolidColorBrush ParagraphForeground { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.SolidColorBrush |
TableBackground
Gets or sets the background value for the table.
Declaration
public SolidColorBrush TableBackground { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.SolidColorBrush |
TableBorderBrush
Gets or sets the borderbrush value for the table.
Declaration
public SolidColorBrush TableBorderBrush { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.SolidColorBrush |
TableHeaderForeground
Foreground property for the table header content.
Declaration
public SolidColorBrush TableHeaderForeground { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.SolidColorBrush |
ThematicBreakBorderBrush
Gets or sets the borderbrush value for the thematicbreak.
Declaration
public SolidColorBrush ThematicBreakBorderBrush { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.SolidColorBrush |
Methods
OnPropertyChanged(String)
Raises the PropertyChanged event for the specified property.
Declaration
protected void OnPropertyChanged(string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName | Name of the property that changed. |
Events
PropertyChanged
Event triggered when a property value changes. Used to notify the UI for data binding updates (INotifyPropertyChanged).
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged