Interface IPropertyAccessProvider
Interface that declares the methods to be implemented for accessing the properties of the column.
Namespace: Syncfusion.UI.Xaml.Data
Assembly: Syncfusion.Data.WinUI.dll
Syntax
public interface IPropertyAccessProvider
Methods
Dispose()
Disposes all the resources used by the IPropertyAccessProvider.
Declaration
void Dispose()
GetFormattedValue(Object, String)
Gets the Formatted value for the given record and the property name.
Declaration
object GetFormattedValue(object record, string propName)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record for which the value is to be obtained. |
System.String | propName | The name of the property. |
Returns
Type | Description |
---|---|
System.Object | The formatted value based on the given property and record. |
GetValue(Object, String)
Gets the value for the given record and property.
Declaration
object GetValue(object record, string propName)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record for which the value is to be obtained. |
System.String | propName | The name of the property. |
Returns
Type | Description |
---|---|
System.Object | The value for the given record and property. |
GetValue(Object, String, Boolean)
Gets the value for the given record and property.
Declaration
object GetValue(object record, string propName, bool useBindingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record for which the value is to be obtained. |
System.String | propName | The name of the property. |
System.Boolean | useBindingValue | A boolean value indicating whether to use the binding value. |
Returns
Type | Description |
---|---|
System.Object | The value for the given record and property. |
SetValue(Object, String, Object)
Sets the value for the given record and property name.
Declaration
bool SetValue(object record, string propName, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record for which the value is to be set. |
System.String | propName | The name of the property. |
System.Object | value | The value to be set. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether the value is set. |
SetValue(Object, String, Object, Boolean)
Sets the value for the given record and property.
Declaration
bool SetValue(object record, string propName, object value, bool useBindingValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record for which the value is to be set. |
System.String | propName | The name of the property. |
System.Object | value | The value to be set. |
System.Boolean | useBindingValue | A boolean value indicating whether to use the binding value. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether the value is set. |