New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinForms.Documents.Model.Styles

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public abstract class DocumentElementPropertiesBase : IElementWithStyle

Inheritance: objectDocumentElementPropertiesBase

Derived Classes: DocumentPropertiesEmptyDocumentElementPropertiesParagraphPropertiesSectionPropertiesSpanPropertiesTableCellPropertiesTablePropertiesTableRowProperties...

Implements: IElementWithStyle

Constructors

C#
public DocumentElementPropertiesBase(DocumentElement owner)
Parameters:ownerDocumentElement
C#
public DocumentElementPropertiesBase(StyleDefinition owner)
Parameters:ownerStyleDefinition

Properties

C#
public bool HasRevisions { get; }
C#
public DocumentElementPropertiesBase OriginalProperties { get; }
C#
[XamlSerializable("")]
public string OriginalStyleName { get; set; }
C#
public RevisionInfo RevisionInfo { get; set; }
C#
public virtual StyleDefinition Style { get; set; }

Implements: IElementWithStyle.Style

C#
public string StyleName { get; set; }
C#
public IEnumerable<StylePropertyBase> StyleProperties { get; }

Methods

C#
public void ClearProperties()
C#
public virtual void CopyPropertiesFrom(DocumentElementPropertiesBase fromProperties)
Parameters:fromPropertiesDocumentElementPropertiesBase
C#
protected abstract DocumentElementPropertiesBase CreateInstance()
Returns:

DocumentElementPropertiesBase

C#
public StylePropertyBase GetStyleProperty(IStylePropertyDefinition propertyDefinition)
Parameters:propertyDefinitionIStylePropertyDefinitionReturns:

StylePropertyBase

C#
public StylePropertyBase GetStyleProperty(string propertyName)
Parameters:propertyNamestringReturns:

StylePropertyBase

C#
protected abstract void InitProperties()
C#
public void MergePropertiesWith(DocumentElementPropertiesBase propertiesToMergeWith)
Parameters:propertiesToMergeWithDocumentElementPropertiesBase
C#
protected virtual void OnStyleChanged()
C#
protected virtual void OnStyleChanging()
C#
protected virtual void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters:argsStylePropertyChangeEventArgs
C#
public override string ToString()
Returns:

string

Overrides: object.ToString()

C#
protected virtual void ValidateStyleType(StyleDefinition value)
Parameters:valueStyleDefinition