Class TreeGridDynamicPropertiesProvider
Represents a class to Get / Set value of the underlying dynamic data object which is used by TreeGridView.
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class TreeGridDynamicPropertiesProvider : TreeGridPropertiesProvider, IPropertyAccessProvider, IDisposable
Constructors
TreeGridDynamicPropertiesProvider(SfTreeGrid, TreeGridView)
Declaration
public TreeGridDynamicPropertiesProvider(SfTreeGrid treeGrid, TreeGridView view)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | |
TreeGridView | view |
Methods
Dispose(Boolean)
Disposes all the resources used by the DynamicPropertiesProvider class.
Declaration
protected override void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
Overrides
GetValue(Object, String)
Gets the property value that is reflected from the specified record.
Declaration
public override object GetValue(object record, string propName)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The corresponding record to get the property value. |
System.String | propName | The corresponding property name to get the value. |
Returns
Type | Description |
---|---|
System.Object | Returns the property value for the specified record and property name. |
Overrides
GetValue(Object, String, Boolean)
Gets the property value from the specified record and property name.
Declaration
public override object GetValue(object record, string propName, bool useBindingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The corresponding record to get the property value. |
System.String | propName | The corresponding property name to get the value. |
System.Boolean | useBindingValue | Specifies whether the property value is reflected either from record or ValueBinding. |
Returns
Type | Description |
---|---|
System.Object | Returns the property value for the specified record and property name. |
Overrides
SetValue(Object, String, Object)
Sets the value to particular property in a record.
Declaration
public override bool SetValue(object record, string propName, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The corresponding record to set the value. |
System.String | propName | The corresponding property name to set the value. |
System.Object | value | The corresponding value to set particular property. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the value is set the particular property in the specified record. |
Overrides
SetValue(Object, String, Object, Boolean)
Sets the value to particular property in a record.
Declaration
public override bool SetValue(object record, string propName, object value, bool useBindingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The corresponding record to set the value. |
System.String | propName | The corresponding property name to set the value. |
System.Object | value | The corresponding value to set particular property. |
System.Boolean | useBindingValue | Specifies the whether the property value is set to record or ValueBinding. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the value is set the particular property in the specified record. |