public override void Clear() { tobeFocusElement = null; tobeLostFocusElement = null; focusEventType = FocusEventType.PreviewFocus; base.Clear(); }
private void SendFieldFocusEvent(FocusEventType fet) { if (FieldFocusEvent != null) { FieldFocusEventArgs args = new FieldFocusEventArgs(); //args.FieldIndex = FieldIndex; args.FocusEventType = fet; FieldFocusEvent(this, args); } }
public FocusEvent(FocusEventType eventType, EventPhase eventPhase, DisplayObject target, DisplayObject currentTarget, bool bubbles = true, bool cancelable = false) : base(eventPhase, target, currentTarget, bubbles, cancelable) { EventType = eventType; }
private void SendFieldFocusEvent( FocusEventType fet ) { if ( FieldFocusEvent != null ) { FieldFocusEventArgs args = new FieldFocusEventArgs(); //args.FieldIndex = FieldIndex; args.FocusEventType = fet; FieldFocusEvent( this, args ); } }