Class PaletteGroupViewEditor
Filter GroupViewPaletteItem properties to display in property grid. Show only properties marked with PalettePropertyAttribute.
Inheritance
Namespace: Syncfusion.Windows.Forms.Diagram.Controls
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class PaletteGroupViewEditor : TypeConverter
Constructors
PaletteGroupViewEditor()
Initializes a new instance of the PaletteGroupViewEditor class.
Declaration
public PaletteGroupViewEditor()
Methods
GetProperties(ITypeDescriptorContext, Object, Attribute[])
Retrieves the set of properties for this type to filter properties for GroupViewPaletteItem.
Declaration
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | A type descriptor through which additional context can be provided. |
System.Object | value | The value of the object to get the properties for. |
System.Attribute[] | attributes | An array of MemberAttribute objects that specify the attributes of the properties. |
Returns
Type | Description |
---|---|
System.ComponentModel.PropertyDescriptorCollection | The set of properties that should be exposed for this data type. If no properties should be exposed, this may return null. The default implementation always returns null. |
GetPropertiesSupported(ITypeDescriptorContext)
Determines whether this object supports properties. By default, this is false.
Declaration
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | A type descriptor through which additional context can be provided. |
Returns
Type | Description |
---|---|
System.Boolean | This method returns true if the GetProperties object should be called to find the properties of this object; otherwise, false |