protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); _scManager.OnSourceInitialized(); if (PresentationSource.FromVisual(this) is HwndSource source) { source.AddHook(WndProc); } }
protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); _scManager.OnSourceInitialized(); if (PresentationSource.FromVisual(this) is HwndSource source) { source.AddHook(WndProc); } CaptureMouseWheelWhenUnfocusedBehavior.SetIsEnabled(NoteEditHost, Settings.FixScintillaScrollMessages); }
protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); _scManager.OnSourceInitialized(); }