} // proc LoadInternAsync /// <summary>Control is created.</summary> protected virtual void OnControlCreated() { CallMemberDirect(nameof(OnControlCreated), Array.Empty <object>(), rawGet: true, ignoreNilFunction: true); Mouse.AddPreviewMouseDownHandler(Control, Control_MouseDownHandler); Mouse.AddPreviewMouseDownOutsideCapturedElementHandler(Control, Control_MouseDownHandler); Keyboard.AddPreviewGotKeyboardFocusHandler(Control, Control_GotKeyboardFocusHandler); Keyboard.AddPreviewLostKeyboardFocusHandler(Control, Control_LostKeyboardFocusHandler); Keyboard.AddPreviewKeyUpHandler(Control, Control_KeyUpHandler); } // proc OnControlCreated