Class PropertyAccessor
Represents the class for PropertyAccessor.
Inheritance
System.Object
PropertyAccessor
Namespace: Syncfusion.UI.Xaml.SmithChart
Assembly: Syncfusion.SfSmithChart.UWP.dll
Syntax
public class PropertyAccessor : Object, IPropertyAccessor
Constructors
PropertyAccessor(PropertyInfo)
Initializes a new instance of the PropertyAccessor class.
Declaration
public PropertyAccessor(PropertyInfo propertyInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | propertyInfo | The Property Information |
Properties
GetMethod
Gets the get method of the property accessor.
Declaration
public Func<object, object> GetMethod { get; }
Property Value
Type |
---|
System.Func<System.Object, System.Object> |
PropertyInfo
Gets or private sets the PropertyInfo.
Declaration
public PropertyInfo PropertyInfo { get; }
Property Value
Type |
---|
System.Reflection.PropertyInfo |
Methods
GetValue(Object)
Gets The Value.
Declaration
public object GetValue(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The Object |
Returns
Type | Description |
---|---|
System.Object | The Object Value |
SetValue(Object, Object)
Sets The Value.
Declaration
public void SetValue(object obj, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The Object |
System.Object | value | The Value |