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