Class DocumentElementPropertiesBase
Inheritance
System.Object
DocumentElementPropertiesBase
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public abstract class DocumentElementPropertiesBase : Object, IElementWithStyle
Constructors
DocumentElementPropertiesBase(DocumentElement)
Declaration
public DocumentElementPropertiesBase(DocumentElement owner)
Parameters
DocumentElement
owner
|
DocumentElementPropertiesBase(StyleDefinition)
Declaration
public DocumentElementPropertiesBase(StyleDefinition owner)
Parameters
StyleDefinition
owner
|
Properties
HasRevisions
Declaration
public bool HasRevisions { get; }
Property Value
System.Boolean
|
OriginalProperties
Declaration
public DocumentElementPropertiesBase OriginalProperties { get; }
Property Value
DocumentElementPropertiesBase
|
OriginalStyleName
Declaration
[XamlSerializable("")]
public string OriginalStyleName { get; set; }
Property Value
System.String
|
RevisionInfo
Style
Declaration
public virtual StyleDefinition Style { get; set; }
Property Value
StyleDefinition
|
Implements
StyleName
Declaration
public string StyleName { get; set; }
Property Value
System.String
|
StyleProperties
Declaration
public IEnumerable<StylePropertyBase> StyleProperties { get; }
Property Value
System.Collections.Generic.IEnumerable<StylePropertyBase>
|
Methods
ClearProperties()
Declaration
public void ClearProperties()
CopyPropertiesFrom(DocumentElementPropertiesBase)
Declaration
public virtual void CopyPropertiesFrom(DocumentElementPropertiesBase fromProperties)
Parameters
DocumentElementPropertiesBase
fromProperties
|
CreateInstance()
Declaration
protected abstract DocumentElementPropertiesBase CreateInstance()
Returns
DocumentElementPropertiesBase
|
GetStyleProperty(String)
Declaration
public StylePropertyBase GetStyleProperty(string propertyName)
Parameters
System.String
propertyName
|
Returns
StylePropertyBase
|
GetStyleProperty(IStylePropertyDefinition)
Declaration
public StylePropertyBase GetStyleProperty(IStylePropertyDefinition propertyDefinition)
Parameters
IStylePropertyDefinition
propertyDefinition
|
Returns
StylePropertyBase
|
InitProperties()
Declaration
protected abstract void InitProperties()
MergePropertiesWith(DocumentElementPropertiesBase)
Declaration
public void MergePropertiesWith(DocumentElementPropertiesBase propertiesToMergeWith)
Parameters
DocumentElementPropertiesBase
propertiesToMergeWith
|
OnStyleChanged()
Declaration
protected virtual void OnStyleChanged()
OnStyleChanging()
Declaration
protected virtual void OnStyleChanging()
OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)
Declaration
protected virtual void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters
StylePropertyChangeEventArgs
args
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
ValidateStyleType(StyleDefinition)
Declaration
protected virtual void ValidateStyleType(StyleDefinition value)
Parameters
StyleDefinition
value
|
Explicit Interface Implementations
IElementWithStyle.OnStyleRemovedFromDocument()
Declaration
void IElementWithStyle.OnStyleRemovedFromDocument()
Implements
IElementWithStyle.StyleName
Declaration
string IElementWithStyle.StyleName { get; set; }
Returns
System.String
|
Implements
IElementWithStyle.StyleNameChanged()
Declaration
void IElementWithStyle.StyleNameChanged()
Implements
IElementWithStyle.StylePropertyChanged(Object, StylePropertyChangeEventArgs)
Declaration
void IElementWithStyle.StylePropertyChanged(object sender, StylePropertyChangeEventArgs args)
Parameters
System.Object
sender
|
StylePropertyChangeEventArgs
args
|
Implements
IElementWithStyle.StylePropertyChanging(Object, StylePropertyChangeEventArgs)
Declaration
void IElementWithStyle.StylePropertyChanging(object sender, StylePropertyChangeEventArgs args)
Parameters
System.Object
sender
|
StylePropertyChangeEventArgs
args
|