Class PropertyBinding
Represents a dependency between two properties. Used by a RadObject to bind a RadProperty to an external one and always use its value. The binding may be also two-way, in which special case the bound property updates its source.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class PropertyBinding
Constructors
PropertyBinding(RadObject, RadProperty, RadProperty, PropertyBindingOptions)
Initializes a new instance of the RadPropertyBinding class.
Declaration
public PropertyBinding(RadObject sourceObject, RadProperty boundProperty, RadProperty sourceProperty, PropertyBindingOptions options)
Parameters
RadObject
sourceObject
|
RadProperty
boundProperty
|
RadProperty
sourceProperty
|
PropertyBindingOptions
options
|
Properties
BindingOptions
Declaration
public PropertyBindingOptions BindingOptions { get; }
Property Value
PropertyBindingOptions
|
BoundProperty
IsSourceObjectAlive
Declaration
public bool IsSourceObjectAlive { get; }
Property Value
System.Boolean
|
SourceObject
Gets the binding source.
Declaration
public RadObject SourceObject { get; }
Property Value
RadObject
|
SourceProperty
Methods
GetValue()
Declaration
public object GetValue()
Returns
System.Object
|
UpdateSourceProperty(Object)
Updates the binding source property.
Declaration
public void UpdateSourceProperty(object newValue)
Parameters
System.Object
newValue
|