Class DateField
Simple Date editing View
public class DateField : TextField, IDisposable, ISupportInitializeNotification, ISupportInitialize
- Inheritance
-
DateField
- Implements
- Inherited Members
Remarks
Constructors
- DateField()
Initializes a new instance of DateField using Computed layout.
- DateField(DateTime)
Initializes a new instance of DateField using Computed layout.
Properties
- Culture
CultureInfo for date. The default is CultureInfo.CurrentCulture.
- CursorPosition
Sets or gets the current cursor position.
Methods
- DeleteCharLeft(bool)
Deletes the character to the left.
- DeleteCharRight()
Deletes the character to the right.
- OnDateChanged(DateTimeEventArgs<DateTime>)
Event firing method for the DateChanged event.
- OnMouseEvent(MouseEvent)
Called when a mouse event occurs within the view's Viewport.
- OnProcessKeyDown(Key)
Processes key presses for the TextField.
The TextField control responds to the following keys: Keys Function Delete, Backspace Deletes the character before cursor.
Events
- DateChanged
DateChanged event, raised when the Date property has changed.