Class StyleProperty<TValue, TPropertyContainer>
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class StyleProperty<TValue, TPropertyContainer> : StylePropertyBase where TPropertyContainer : DocumentElementPropertiesBase
Type Parameters
TValue
|
TPropertyContainer
|
Constructors
StyleProperty(TPropertyContainer, StylePropertyDefinition<TValue, TPropertyContainer>)
Declaration
public StyleProperty(TPropertyContainer propertyContainer, StylePropertyDefinition<TValue, TPropertyContainer> propertyDefinition)
Parameters
TPropertyContainer
propertyContainer
|
StylePropertyDefinition<TValue, TPropertyContainer>
propertyDefinition
|
Properties
PropertyContainer
Declaration
public TPropertyContainer PropertyContainer { get; }
Property Value
TPropertyContainer
|
PropertyDefinition
Declaration
public override IStylePropertyDefinition PropertyDefinition { get; }
Property Value
IStylePropertyDefinition
|
Overrides
ValueSource
Declaration
public override RadValueSource ValueSource { get; }
Property Value
RadValueSource
|
Overrides
Methods
CheckForValueChange(RadValueSource)
Declaration
protected void CheckForValueChange(RadValueSource changedValueSource)
Parameters
RadValueSource
changedValueSource
|
ClearValue()
GetLocalParentValueOverride()
Declaration
protected virtual TValue GetLocalParentValueOverride()
Returns
TValue
|
GetValue()
Declaration
public TValue GetValue()
Returns
TValue
|
GetValueOrDefault()
Declaration
public TValue GetValueOrDefault()
Returns
TValue
|
HasLocalValue()
Declaration
public override bool HasLocalValue()
Returns
System.Boolean
|
Overrides
OnPropertyValueChanged(TValue, TValue)
Declaration
protected virtual void OnPropertyValueChanged(TValue oldValue, TValue newValue)
Parameters
TValue
oldValue
|
TValue
newValue
|
SetValue(TValue)
Declaration
public void SetValue(TValue value)
Parameters
TValue
value
|