Interface ITypeEditor
Represents the ITypeEditor Interface
Namespace: Syncfusion.Windows.PropertyGrid
Assembly: Syncfusion.PropertyGrid.Wpf.dll
Syntax
public interface ITypeEditor
Methods
Attach(PropertyViewItem, PropertyItem)
Declaration
void Attach(PropertyViewItem property, PropertyItem info)
Parameters
Type | Name | Description |
---|---|---|
PropertyViewItem | property | |
PropertyItem | info |
Create(PropertyDescriptor)
Creates and initializes a new instance of the custom editor for properties of type dynamic, ExpandoObject, or ICustomTypeDescriptor.
Declaration
object Create(PropertyDescriptor PropertyDescriptor)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.PropertyDescriptor | PropertyDescriptor |
Returns
Type | Description |
---|---|
System.Object | Returns an editor for editing the property of the dynamic object. |
Remarks
This method will only be called if the selected object is a dynamic object. If the selected object is not a dynamic object, this method will never be called.
Create(PropertyInfo)
Declaration
object Create(PropertyInfo PropertyInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | PropertyInfo |
Returns
Type |
---|
System.Object |
Detach(PropertyViewItem)
Represents the Detach method
Declaration
void Detach(PropertyViewItem property)
Parameters
Type | Name | Description |
---|---|---|
PropertyViewItem | property |
ShouldPropertyGridTryToHandleKeyDown(Key)
Determines whether the custom editor should handle the KeyDown event.
Declaration
bool ShouldPropertyGridTryToHandleKeyDown(Key key)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.Key | key | The key that was pressed. |
Returns
Type | Description |
---|---|
System.Boolean | Returns false if the custom editor handles the KeyDown event, true otherwise. |