public TopLevelView(TopLevelImpl tl) { _tl = tl; _mouse = AvaloniaLocator.Current.GetService <IMouseDevice>(); _keyboard = AvaloniaLocator.Current.GetService <IKeyboardDevice>(); RegisterForDraggedTypes(new string[] { "public.data" // register for any kind of data. }); }
public TopLevelView(TopLevelImpl tl) { _tl = tl; _mouse = AvaloniaLocator.Current.GetService <IMouseDevice>(); _keyboard = AvaloniaLocator.Current.GetService <IKeyboardDevice>(); }