Class
RadPropertyValue

Stores all the information needed for composing a RadProperty's value for a given object.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class RadPropertyValue

Inheritance: objectRadPropertyValue

Properties

AnimatedValue

Gets the current animated value.

Declaration

cs-api-definition
public object AnimatedValue { get; }

Property Value

object

AnimationSetting

Gets the animation setting (if any) for this property.

Declaration

cs-api-definition
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

cs-api-definition
public object BindingLocalValue { get; }

Property Value

object

CurrentValue

Gets the current value for the property.

Declaration

cs-api-definition
public object CurrentValue { get; }

Property Value

object

DefaultValueOverride

Gets the custom default value associated with this property.

Declaration

cs-api-definition
public object DefaultValueOverride { get; }

Property Value

object

HasBoundObjects

Determines whether we have objects already bound to this property.

Declaration

cs-api-definition
public bool HasBoundObjects { get; }

Property Value

bool

IsCompositionLocked

Determines whether current value composition is currently locked.

Declaration

cs-api-definition
public bool IsCompositionLocked { get; }

Property Value

bool

IsCurrentValueCoerced

The current value is forced to some custom value by a Coerce callback.

Declaration

cs-api-definition
public bool IsCurrentValueCoerced { get; }

Property Value

bool

IsSetAtDesignTime

Determines whether the current local value (if any) is set at design-time.

Declaration

cs-api-definition
public bool IsSetAtDesignTime { get; }

Property Value

bool

IsUpdatingValue

Determines whether we are in a process of updating a modifier.

Declaration

cs-api-definition
public bool IsUpdatingValue { get; }

Property Value

bool

LocalValue

Gets the local value for this property.

Declaration

cs-api-definition
public object LocalValue { get; }

Property Value

object

Metadata

Gets the Metadata associated with this property for the current owner.

Declaration

cs-api-definition
public RadPropertyMetadata Metadata { get; }

Property Value

RadPropertyMetadata

Property

Gets the index of the associated RadProperty.

Declaration

cs-api-definition
public RadProperty Property { get; }

Property Value

RadProperty

PropertyBinding

Gets the property binding relation for this property.

Declaration

cs-api-definition
public PropertyBinding PropertyBinding { get; }

Property Value

PropertyBinding

StyleSetting

Gets the current style setting for the property.

Declaration

cs-api-definition
public IPropertySetting StyleSetting { get; }

Property Value

IPropertySetting

StyleVersion

Gets the current style version

Declaration

cs-api-definition
public int StyleVersion { get; }

Property Value

int

ValueSource

Gets the source of the current value.

Declaration

cs-api-definition
public ValueSource ValueSource { get; }

Property Value

ValueSource

Methods

ComposeCurrentValue()

Forces value composition, using default precedence order.

Declaration

cs-api-definition
public void ComposeCurrentValue()

GetCurrentValue(bool)

Gets the current value and optionally forces re-evaluation.

Declaration

cs-api-definition
public object GetCurrentValue(bool composeIfNeeded)

Parameters

composeIfNeeded

bool

Returns

object

InvalidateInheritedValue()

Resets the state of the inherited value.

Declaration

cs-api-definition
public bool InvalidateInheritedValue()

Returns

bool

True if the property needs re-evaluation, false otherwise.