Class TableRecordDataPropertyDescriptor
Implements a custom PropertyDescriptor that is used within a GridGroupTypedListRecordsCollection to access a FieldDescriptor.
Inheritance
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class TableRecordDataPropertyDescriptor : PropertyDescriptor
Constructors
TableRecordDataPropertyDescriptor(Type)
Initializes a new instance of TableRecordDataPropertyDescriptor class and attaches it to a FieldDescriptor.
Declaration
public TableRecordDataPropertyDescriptor(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The Type value. |
Properties
ComponentType
Gets the type of the component this property is bound to.
Declaration
public override Type ComponentType { get; }
Property Value
Type |
---|
System.Type |
IsBrowsable
Gets a value indicating whether the member is browsable.
Declaration
public override bool IsBrowsable { get; }
Property Value
Type |
---|
System.Boolean |
IsReadOnly
Gets a value indicating whether this property is read-only.
Declaration
public override bool IsReadOnly { get; }
Property Value
Type |
---|
System.Boolean |
PropertyType
Gets the type of the property.
Declaration
public override Type PropertyType { get; }
Property Value
Type |
---|
System.Type |
Methods
CanResetValue(Object)
Determines whether resetting an object changes its value.
Declaration
public override bool CanResetValue(object component)
Parameters
Type | Name | Description |
---|---|---|
System.Object | component | The component to test for reset capability. |
Returns
Type | Description |
---|---|
System.Boolean | True if resetting the component changes its value; otherwise, false. |
GetValue(Object)
Overridden to get the current value of the property on a component.
Declaration
public override object GetValue(object component)
Parameters
Type | Name | Description |
---|---|---|
System.Object | component | The component with the property for which to retrieve the value. |
Returns
Type | Description |
---|---|
System.Object | The value of a property for a given component. |
ResetValue(Object)
Overridden to reset the value for this property of the component to the default value.
Declaration
public override void ResetValue(object component)
Parameters
Type | Name | Description |
---|---|---|
System.Object | component | The component with the property value that is to be reset to the default value. |
SetValue(Object, Object)
Sets a value for the given component.
Declaration
public override void SetValue(object component, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | component | The Component. |
System.Object | value | Value to be set. |
ShouldSerializeValue(Object)
Determines if the given component should be serialized.
Declaration
public override bool ShouldSerializeValue(object component)
Parameters
Type | Name | Description |
---|---|---|
System.Object | component | The component. |
Returns
Type | Description |
---|---|
System.Boolean | Returns False. |