Class AmbientHelper
Inheritance
System.Object
AmbientHelper
Namespace: Syncfusion.ComponentModel
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class AmbientHelper : Object
Constructors
AmbientHelper()
Declaration
public AmbientHelper()
Methods
GetAmbientValue(Object, String, Type, out Object)
Gets the value of a property from some object
Declaration
public static bool GetAmbientValue(object instance, string nameOfProperty, Type retType, out object retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | instance | Object from which we want to take the value of property |
| System.String | nameOfProperty | Name of the property from which we want to take value |
| System.Type | retType | Type of value? which to return |
| System.Object | retValue | Value which we want to take |
Returns
| Type |
|---|
| System.Boolean |