Class PropertyInfoExtensions
Extension for property info to handle some custom operation
Inheritance
System.Object
PropertyInfoExtensions
Namespace: Syncfusion.Windows.Controls.Gantt
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public static class PropertyInfoExtensions : Object
Methods
GetValue(PropertyInfo, Object)
Gets the value.
Declaration
public static object GetValue(this PropertyInfo propInfo, object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | propInfo | The prop info. |
System.Object | obj | The obj. |
Returns
Type |
---|
System.Object |
SetValue(PropertyInfo, Object, Object)
Sets the value.
Declaration
public static void SetValue(this PropertyInfo propInfo, object obj, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | propInfo | The prop info. |
System.Object | obj | The obj. |
System.Object | value | The value. |