Class RadPropertyValue
Stores all the information needed for composing a RadProperty's value for a given object.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class RadPropertyValue
Properties
AnimatedValue
Gets the current animated value.
Declaration
public object AnimatedValue { get; }
Property Value
System.Object
|
AnimationSetting
Gets the animation setting (if any) for this property.
Declaration
public AnimatedPropertySetting AnimationSetting { get; }
Property Value
AnimatedPropertySetting
|
BindingLocalValue
Gets the value which is set through a two-way property binding. This value has higher priority that the local one.
Declaration
public object BindingLocalValue { get; }
Property Value
System.Object
|
CurrentValue
Gets the current value for the property.
Declaration
public object CurrentValue { get; }
Property Value
System.Object
|
DefaultValueOverride
Gets the custom default value associated with this property.
Declaration
public object DefaultValueOverride { get; }
Property Value
System.Object
|
HasBoundObjects
Determines whether we have objects already bound to this property.
Declaration
public bool HasBoundObjects { get; }
Property Value
System.Boolean
|
IsCompositionLocked
Determines whether current value composition is currently locked.
Declaration
public bool IsCompositionLocked { get; }
Property Value
System.Boolean
|
IsCurrentValueCoerced
The current value is forced to some custom value by a Coerce callback.
Declaration
public bool IsCurrentValueCoerced { get; }
Property Value
System.Boolean
|
IsSetAtDesignTime
Determines whether the current local value (if any) is set at design-time.
Declaration
public bool IsSetAtDesignTime { get; }
Property Value
System.Boolean
|
IsUpdatingValue
Determines whether we are in a process of updating a modifier.
Declaration
public bool IsUpdatingValue { get; }
Property Value
System.Boolean
|
LocalValue
Gets the local value for this property.
Declaration
public object LocalValue { get; }
Property Value
System.Object
|
Metadata
Gets the Metadata associated with this property for the current owner.
Declaration
public RadPropertyMetadata Metadata { get; }
Property Value
RadPropertyMetadata
|
Property
Gets the index of the associated RadProperty.
Declaration
public RadProperty Property { get; }
Property Value
RadProperty
|
PropertyBinding
Gets the property binding relation for this property.
Declaration
public PropertyBinding PropertyBinding { get; }
Property Value
PropertyBinding
|
StyleSetting
Gets the current style setting for the property.
Declaration
public IPropertySetting StyleSetting { get; }
Property Value
IPropertySetting
|
StyleVersion
Gets the current style version
Declaration
public int StyleVersion { get; }
Property Value
System.Int32
|
ValueSource
Gets the source of the current value.
Declaration
public ValueSource ValueSource { get; }
Property Value
ValueSource
|
Methods
ComposeCurrentValue()
Forces value composition, using default precedence order.
Declaration
public void ComposeCurrentValue()
GetCurrentValue(Boolean)
Gets the current value and optionally forces re-evaluation.
Declaration
public object GetCurrentValue(bool composeIfNeeded)
Parameters
System.Boolean
composeIfNeeded
|
Returns
System.Object
|
InvalidateInheritedValue()
Resets the state of the inherited value.
Declaration
public bool InvalidateInheritedValue()
Returns
System.Boolean
True if the property needs re-evaluation, false otherwise. |
SetStyleVersion(Int32)
Sets a new style version for this property value. This method is used internally.
Declaration
public void SetStyleVersion(int newVersion)
Parameters
System.Int32
newVersion
The new version |