New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

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

Definition

Constructors

Initializes a new instance of the PropertyInfoFieldInfo class.

C#
public PropertyInfoFieldInfo(PropertyInfo propertyInfo, Func<object, object> propertyAccess)
Parameters:propertyInfoPropertyInfo

The property info.

propertyAccessFunc<object, object>

The property access.

Initializes a new instance of the PropertyInfoFieldInfo class.

C#
public PropertyInfoFieldInfo(PropertyInfo propertyInfo)
Parameters:propertyInfoPropertyInfo

The property info.

Properties

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

C#
public Func<object, object> PropertyAccess { get; }

Gets the PropertyInfo.

C#
public PropertyInfo PropertyInfo { get; }

Methods

Gets the value of the property.

C#
public override object GetValue(object item)
Parameters:itemobject

The item.

Returns:

object

Overrides: PropertyFieldInfo.GetValue(object)

Sets the value of the property.

C#
public override void SetValue(object item, object fieldValue)
Parameters:itemobject

The item.

fieldValueobject

The field value.

Overrides: PropertyFieldInfo.SetValue(object, object)