ClassBindingExpressionHelper
Class
Provides methods that allow getting property values without reflection.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
cs-api-definition
public class BindingExpressionHelper : FrameworkElement
Inheritance: objectBindingExpressionHelper
Constructors
BindingExpressionHelper()
Declaration
cs-api-definition
public BindingExpressionHelper()
Methods
CreateGetValueFunc(Type, string)
Returns a Function that will return the value of the property, specified by the provided propertyPath.
Declaration
cs-api-definition
public static Func<object, object> CreateGetValueFunc(Type itemType, string propertyPath)
Parameters
itemType
The type of the instance which property will be returned.
propertyPath
The path of the property which value will be returned.
Returns
GetValue(object, Binding)
Gets the value of the specified item using the provided Binding.
GetValue(object, string)
Gets the value of the property specified by the provided propertyPath.