Example #1
0
        private static void AnyPropertyChanged(DependencyObject source, DependencyPropertyChangedEventArgs e)
        {
            ScintillaBox sb = (ScintillaBox)source;

            if (sb.Handle == IntPtr.Zero) // not initialized yet, we can't send it now.
            {
                sb.Dispatcher.BeginInvoke(DispatcherPriority.Background, (Action)(() =>
                {
                    sb.OnPropertyChanged(source, e);
                }));
                return;
            }
            sb.OnPropertyChanged(source, e);
        }
Example #2
0
 internal StyleCollection(ScintillaBox scintilla)
 {
     _scintilla = scintilla;
 }