Class PropertyInfoExtensions
Extension for property info to handle some custom operation
Inheritance
System.Object
PropertyInfoExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Gantt
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public static class PropertyInfoExtensions
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. |