Class DocumentElementPropertiesBase
Defines common set of properties which can be applied to document element.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public abstract class DocumentElementPropertiesBase : IElementWithStyle
Fields
StyleIdPropertyDefinition
Gets the style id property definition.
Declaration
protected static readonly StylePropertyDefinition<string> StyleIdPropertyDefinition
Field Value
StylePropertyDefinition<System.String>
|
Properties
StyleId
Gets or sets the name of the style.
Declaration
public string StyleId { get; set; }
Property Value
System.String
The name of the style. |
Implements
StyleIdProperty
Gets the style id property.
Declaration
protected IStyleProperty StyleIdProperty { get; }
Property Value
IStyleProperty
The style id property. |
StyleProperties
Gets the style properties.
Declaration
public IEnumerable<IStyleProperty> StyleProperties { get; }
Property Value
System.Collections.Generic.IEnumerable<IStyleProperty>
The style properties. |
Methods
ClearLocalValues()
Clears all local property values.
Declaration
public void ClearLocalValues()
CopyPropertiesFrom(DocumentElementPropertiesBase)
Copies the properties from.
Declaration
public virtual void CopyPropertiesFrom(DocumentElementPropertiesBase fromProperties)
Parameters
DocumentElementPropertiesBase
fromProperties
From properties. |
EnumerateStyleProperties()
Enumerates the style properties.
Declaration
protected abstract IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns
System.Collections.Generic.IEnumerable<IStyleProperty>
The style properties. |
GetStyleProperty(String)
Gets specific style property or null.
Declaration
public IStyleProperty GetStyleProperty(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
IStyleProperty
|
GetStyleProperty(IStylePropertyDefinition)
Gets specific style property or null.
Declaration
public IStyleProperty GetStyleProperty(IStylePropertyDefinition propertyDefinition)
Parameters
IStylePropertyDefinition
propertyDefinition
The property definition. |
Returns
IStyleProperty
|
GetStylePropertyOverride(IStylePropertyDefinition)
Gets specific style property or null.
Declaration
protected abstract IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters
IStylePropertyDefinition
propertyDefinition
The property definition. |
Returns
IStyleProperty
|
HasLocalValues()
Determines whether there are local property values.
Declaration
public bool HasLocalValues()
Returns
System.Boolean
True if there are local property values. |