Class PropertyInfoFieldInfo
An IPivotFieldInfo that uses System.Func<T, TResult> for property access.
Inherited Members
Namespace: Telerik.Pivot.Core.Fields
Assembly: Telerik.Pivot.Core.dll
Syntax
public class PropertyInfoFieldInfo : PropertyFieldInfo, IPivotFieldInfo, IPropertyMetadataReader
Constructors
PropertyInfoFieldInfo(PropertyInfo)
Initializes a new instance of the PropertyInfoFieldInfo class.
Declaration
public PropertyInfoFieldInfo(PropertyInfo propertyInfo)
Parameters
System.Reflection.PropertyInfo
propertyInfo
The property info. |
PropertyInfoFieldInfo(PropertyInfo, Func<Object, Object>)
Initializes a new instance of the PropertyInfoFieldInfo class.
Declaration
public PropertyInfoFieldInfo(PropertyInfo propertyInfo, Func<object, object> propertyAccess)
Parameters
System.Reflection.PropertyInfo
propertyInfo
The property info. |
System.Func<System.Object, System.Object>
propertyAccess
The property access. |
Properties
PropertyAccess
Gets the System.Func<T, TResult> for property access.
Declaration
public Func<object, object> PropertyAccess { get; }
Property Value
System.Func<System.Object, System.Object>
|
PropertyInfo
Gets the PropertyInfo.
Declaration
public PropertyInfo PropertyInfo { get; }
Property Value
System.Reflection.PropertyInfo
|
Methods
GetValue(Object)
Gets the value of the property.
Declaration
public override object GetValue(object item)
Parameters
System.Object
item
The item. |
Returns
System.Object
|
Overrides
SetValue(Object, Object)
Sets the value of the property.
Declaration
public override void SetValue(object item, object fieldValue)
Parameters
System.Object
item
The item. |
System.Object
fieldValue
The field value. |