skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DocumentElementPropertiesBase

Inheritance
System.Object
DocumentElementPropertiesBase
DocumentProperties
EmptyDocumentElementProperties
ParagraphProperties
SectionProperties
SpanProperties
TableCellProperties
TableProperties
TableRowProperties
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

Declaration
public RevisionInfo RevisionInfo { get; set; }
Property Value
RevisionInfo

Style

Declaration
public virtual StyleDefinition Style { get; set; }
Property Value
StyleDefinition

Implements
IElementWithStyle.Style

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.OnStyleRemovedFromDocument()

IElementWithStyle.StyleName

Declaration
string IElementWithStyle.StyleName { get; set; }
Returns
System.String

Implements
IElementWithStyle.StyleName

IElementWithStyle.StyleNameChanged()

Declaration
void IElementWithStyle.StyleNameChanged()
Implements
IElementWithStyle.StyleNameChanged()

IElementWithStyle.StylePropertyChanged(Object, StylePropertyChangeEventArgs)

Declaration
void IElementWithStyle.StylePropertyChanged(object sender, StylePropertyChangeEventArgs args)
Parameters
System.Object sender

StylePropertyChangeEventArgs args

Implements
IElementWithStyle.StylePropertyChanged(Object, StylePropertyChangeEventArgs)

IElementWithStyle.StylePropertyChanging(Object, StylePropertyChangeEventArgs)

Declaration
void IElementWithStyle.StylePropertyChanging(object sender, StylePropertyChangeEventArgs args)
Parameters
System.Object sender

StylePropertyChangeEventArgs args

Implements
IElementWithStyle.StylePropertyChanging(Object, StylePropertyChangeEventArgs)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.