Class GridSummaryRowDescriptorTypeConverter
The type converter for GridSummaryRowDescriptor objects. GridSummaryRowDescriptorTypeConverter is a DescriptorBaseConverter. It overrides the default behavior of the ConvertTo method and adds support for design-time code serialization.
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridSummaryRowDescriptorTypeConverter : DescriptorBaseConverter
Constructors
GridSummaryRowDescriptorTypeConverter()
Initializes the new instances for GridSummaryRowDescriptorTypeConverter class.
Declaration
public GridSummaryRowDescriptorTypeConverter()
Methods
CanConvertTo(ITypeDescriptorContext, Type)
Determines whether this object can be converted to the type specified.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | Format context. |
| System.Type | destinationType | The type you want to convert the object to. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if this conversion is possible. |
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts the given value to the type specified.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | Format context. |
| System.Globalization.CultureInfo | culture | Current culture information. |
| System.Object | value | Value to convert. |
| System.Type | destinationType | Target type. |
Returns
| Type | Description |
|---|---|
| System.Object | Converted object. |
Overrides
GetProperties(ITypeDescriptorContext, Object, Attribute[])
Gets a collection of properties for the specified type.
Declaration
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | context | Format context. |
| System.Object | value | Value specifying type. |
| System.Attribute[] | attributes | An array of System.Attribute objects that will be used as a filter. |
Returns
| Type | Description |
|---|---|
| System.ComponentModel.PropertyDescriptorCollection | A list of properties. |