Class TreeGridPropertiesProvider
Implements IPropertyAccessProvider to Get / Set value on the underlying object which is used by CollectionViewAdv.
Inheritance
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridPropertiesProvider : Object, IPropertyAccessProvider, IDisposable
Constructors
TreeGridPropertiesProvider(SfTreeGrid, TreeGridView)
Initializes a new instance of TreeGridPropertiesProvider class with specified TreeGrid and TreeGridView.
Declaration
public TreeGridPropertiesProvider(SfTreeGrid treeGrid, TreeGridView view)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | The specified SfTreeGrid. |
TreeGridView | view | The specified TreeGridView. |
Properties
TreeGrid
Gets or sets the SfTreeGrid.
Declaration
protected SfTreeGrid TreeGrid { get; set; }
Property Value
Type |
---|
SfTreeGrid |
View
Gets or sets the TreeGridView.
Declaration
protected TreeGridView View { get; set; }
Property Value
Type |
---|
TreeGridView |
Methods
Dispose()
Disposes all the resources used by the TreeGridPropertiesProvider class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the TreeGridPropertiesProvider class.
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
GetFormattedValue(Object, String)
Gets the Formatted value.
Declaration
public virtual object GetFormattedValue(object record, string propName)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record. |
System.String | propName | Name of the prop. |
Returns
Type |
---|
System.Object |
GetValue(Object, String)
Gets the value.
Declaration
public virtual object GetValue(object record, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record. |
System.String | propertyName | Name of the prop. |
Returns
Type |
---|
System.Object |
GetValue(Object, String, Boolean)
Gets the value.
Declaration
public virtual object GetValue(object record, string propName, bool useBindingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record. |
System.String | propName | Name of the prop. |
System.Boolean | useBindingValue | If true,then use binding value |
Returns
Type |
---|
System.Object |
SetValue(Object, String, Object)
Sets the value.
Declaration
public virtual bool SetValue(object record, string propName, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record. |
System.String | propName | Name of the prop. |
System.Object | value | The value. |
Returns
Type |
---|
System.Boolean |
SetValue(Object, String, Object, Boolean)
Sets the value.
Declaration
public virtual bool SetValue(object record, string propName, object value, bool useBindingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record. |
System.String | propName | Name of the prop. |
System.Object | value | value |
System.Boolean | useBindingValue | If true,then use binding value |
Returns
Type |
---|
System.Boolean |