Class DateTimeEditor
Represents the DateTimeEditor class
Implements
Inherited Members
Namespace: Syncfusion.Windows.PropertyGrid
Assembly: Syncfusion.PropertyGrid.Wpf.dll
Syntax
public class DateTimeEditor : BaseTypeEditor, ITypeEditor
Constructors
DateTimeEditor()
Declaration
public DateTimeEditor()
Methods
Attach(PropertyViewItem, PropertyItem)
Represents the Attach method
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 DateTimeEditor |
Overrides
Create(PropertyInfo)
Creates and initializes a new instance of the built-in editor.
Declaration
public override object Create(PropertyInfo propertyInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | propertyInfo | The PropertyInformation |
Returns
Type | Description |
---|---|
System.Object | The DateTimeEditor |
Overrides
Detach(PropertyViewItem)
Represents the Detach method
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. |