Class
PropertyInfoFieldInfo

An IPivotFieldInfo that uses Func<T, TResult> for property access.

Definition

Namespace:Telerik.Pivot.Core.Fields

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public class PropertyInfoFieldInfo : PropertyFieldInfo, IPivotFieldInfo

Inheritance: objectPivotFieldInfoPropertyFieldInfoPropertyInfoFieldInfo

Derived Classes: HierarchicalPropertyInfoFieldInfo

Implements: IPivotFieldInfo

Inherited Members PivotFieldInfo.Equals(object)PivotFieldInfo.GetHashCode()PivotFieldInfo.NamePivotFieldInfo.DisplayNamePivotFieldInfo.DataTypePivotFieldInfo.PreferredRolePivotFieldInfo.AllowedRolesPivotFieldInfo.AutoGenerateField

Constructors

PropertyInfoFieldInfo(PropertyInfo)

Initializes a new instance of the PropertyInfoFieldInfo class.

Declaration

cs-api-definition
public PropertyInfoFieldInfo(PropertyInfo propertyInfo)

Parameters

propertyInfo

PropertyInfo

The property info.

PropertyInfoFieldInfo(PropertyInfo, Func<object, object>)

Initializes a new instance of the PropertyInfoFieldInfo class.

Declaration

cs-api-definition
public PropertyInfoFieldInfo(PropertyInfo propertyInfo, Func<object, object> propertyAccess)

Parameters

propertyInfo

PropertyInfo

The property info.

propertyAccess

Func<object, object>

The property access.

Properties

PropertyAccess

Gets the Func<T, TResult> for property access.

Declaration

cs-api-definition
public Func<object, object> PropertyAccess { get; }

Property Value

Func<object, object>

PropertyInfo

Gets the PropertyInfo.

Declaration

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

Property Value

PropertyInfo

Methods

GetValue(object)

Gets the value of the property.

Declaration

cs-api-definition
public override object GetValue(object item)

Parameters

item

object

The item.

Returns

object

Overrides PropertyFieldInfo.GetValue(object)

SetValue(object, object)

Sets the value of the property.

Declaration

cs-api-definition
public override void SetValue(object item, object fieldValue)

Parameters

item

object

The item.

fieldValue

object

The field value.

Overrides PropertyFieldInfo.SetValue(object, object)