IElementWithStyle
Represents an object whose style name and property changes are synchronized with a document stylesheet.
Definition
Namespace:Telerik.WinForms.Documents.Model.Styles
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public interface IElementWithStyle
Properties
Gets or sets the resolved style associated with this object.
StyleDefinition Style { get; set; }
Methods
Notifies the object that its associated style has been removed from the document.
void OnStyleRemovedFromDocument()
Notifies the object that the name of its associated style changed.
void StyleNameChanged()
Notifies the object after the corresponding changing notification.
void StylePropertyChanged(object sender, StylePropertyChangeEventArgs args)
The style whose property changed.
argsStylePropertyChangeEventArgsThe property definition and its old and new values.
Notifies the object after the effective value changes but before the corresponding changed notification.
void StylePropertyChanging(object sender, StylePropertyChangeEventArgs args)
The style whose property is changing.
argsStylePropertyChangeEventArgsThe property definition and its old and new effective values; the new value is already applied.