public MouseInputEvent(EventPropagator source, InputEventType type, KeyboardModifiers modifiers, bool isFocused, UIElement element) { this.source = source; this.type = type; this.modifiers = modifiers; this.element = element; }
public KeyboardInputEvent(EventPropagator source, InputEventType type, KeyCode keyCode, char character, KeyboardModifiers modifiers, bool isFocused) { this.source = source; this.eventType = type; this.keyCode = keyCode; this.modifiers = modifiers; this.character = character; this.isFocused = isFocused; }