IElementWithStyle
Interface
Represents an element that has style properties in the document model.
Definition
Namespace:Telerik.Windows.Documents.Model.Styles
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public interface IElementWithStyle
Derived Classes:
Properties
Gets or sets the style of the element.
C#
StyleDefinition Style { get; set; }
The style applied to the element.
Methods
Invoked when a style is removed from the document.
C#
void OnStyleRemovedFromDocument()
Occurs when the style name of the element changes.
C#
void StyleNameChanged()
Occurs when a style property changes on the element.
C#
void StylePropertyChanged(object sender, StylePropertyChangeEventArgs args)
The source of the event.
argsStylePropertyChangeEventArgsAn instance of StylePropertyChangeEventArgs that contains the event data.
Occurs when the style property of an element is changing.
C#
void StylePropertyChanging(object sender, StylePropertyChangeEventArgs args)
The source of the event.
argsStylePropertyChangeEventArgsThe event data containing information about the style property change.