Class ITypeItemsSourceControl
Implements
Inherited Members
Namespace: Syncfusion.Windows.PropertyGrid
Assembly: Syncfusion.PropertyGrid.Wpf.dll
Syntax
public class ITypeItemsSourceControl : BaseTypeEditor, ITypeEditor
Constructors
ITypeItemsSourceControl()
Declaration
public ITypeItemsSourceControl()
Methods
Attach(PropertyViewItem, PropertyItem)
Declaration
public override void Attach(PropertyViewItem property, PropertyItem info)
Parameters
Type | Name | Description |
---|---|---|
PropertyViewItem | property | |
PropertyItem | info |
Overrides
Create(PropertyDescriptor)
Creates and initializes a new instance of the custom editor. This method will be called for properties of type dynamic, ExpandoObject or ICustomTypeDescriptor.
Declaration
public override object Create(PropertyDescriptor PropertyDescriptor)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.PropertyDescriptor | PropertyDescriptor | The PropertyDescriptor |
Returns
Type | Description |
---|---|
System.Object | The ItemsControl |
Overrides
Create(PropertyInfo)
Creates ands initializes a new instance of the editor
Declaration
public override object Create(PropertyInfo PropertyInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | PropertyInfo | The PropertyInformation |
Returns
Type | Description |
---|---|
System.Object | The ItemsControl |
Overrides
Detach(PropertyViewItem)
Detaches (releases) the editor that was attached with the property passed as parameter.
Declaration
public override void Detach(PropertyViewItem property)
Parameters
Type | Name | Description |
---|---|---|
PropertyViewItem | property |
Overrides
ShouldPropertyGridTryToHandleKeyDown(Key)
Overrides the handling of keydown event. If the method returns true, PropertyGrid handles the KeyDown event and focus will be moved to next focusable editor, otherwise the event will not handle by the PropertyGrid.
Declaration
public override bool ShouldPropertyGridTryToHandleKeyDown(Key key)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.Key | key | A System.Windows.Input.KeyEventArgs object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the property grid should be allowed to handle keys; false otherwise. |