Esempio n. 1
0
 private static void OnContextActionsIconChanged(RoslynCodeEditor editor, CommonPropertyChangedArgs <ImageSource> args)
 {
     if (editor._contextActionsRenderer != null)
     {
         editor._contextActionsRenderer.IconImage = args.NewValue;
     }
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
                this.Editor = ((RoslynPad.Editor.RoslynCodeEditor)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.Editor.Loaded += new System.Windows.RoutedEventHandler(this.OnItemLoaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }