static void OnSelectedFacePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { FacePicker control = sender as FacePicker; if (control != null && control.SelectedFaceChanged != null && control.IsRaiseFaceChangedEvent) { control.SelectedFaceChanged(control, PropertyChangedEventArgs <String> .Create((String)e.NewValue)); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 46 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BoldExecuted); #line default #line hidden #line 46 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 2: #line 47 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ItalicExecuted); #line default #line hidden #line 47 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 3: #line 48 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.UnderlineExecuted); #line default #line hidden #line 48 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 4: #line 49 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SubscriptExecuted); #line default #line hidden #line 49 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SubscriptCanExecute); #line default #line hidden return; case 5: #line 50 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SuperscriptExecuted); #line default #line hidden #line 50 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SuperscriptCanExecute); #line default #line hidden return; case 6: #line 51 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ClearStyleExecuted); #line default #line hidden #line 51 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 7: #line 52 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.IndentExecuted); #line default #line hidden #line 52 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 8: #line 53 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OutdentExecuted); #line default #line hidden #line 53 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 9: #line 54 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BubbledListExecuted); #line default #line hidden #line 54 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 10: #line 55 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NumericListExecuted); #line default #line hidden #line 55 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 11: #line 56 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.JustifyLeftExecuted); #line default #line hidden #line 56 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 12: #line 57 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PrintExecuted); #line default #line hidden #line 57 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 13: #line 58 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.JustifyRightExecuted); #line default #line hidden #line 58 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 14: #line 59 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.JustifyCenterExecuted); #line default #line hidden #line 59 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 15: #line 60 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.JustifyFullExecuted); #line default #line hidden #line 60 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 16: #line 61 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.InsertHyperlinkExecuted); #line default #line hidden #line 61 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 17: #line 62 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.StrikethroughExecuted); #line default #line hidden #line 62 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 18: #line 63 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.InsertImageExecuted); #line default #line hidden #line 63 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 19: #line 64 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.InsertTableExecuted); #line default #line hidden #line 64 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 20: #line 65 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.InsertCodeBlockExecuted); #line default #line hidden #line 65 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 21: #line 66 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.InsertHorizontalLineExecuted); #line default #line hidden #line 66 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 22: #line 67 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ExportTxtExecuted); #line default #line hidden #line 67 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.EditCommandCanExecute); #line default #line hidden return; case 23: this.EditingContextMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 24: #line 72 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.UndoExecuted); #line default #line hidden #line 72 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.UndoCanExecute); #line default #line hidden return; case 25: #line 73 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RedoExecuted); #line default #line hidden #line 73 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.RedoCanExecute); #line default #line hidden return; case 26: #line 74 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CutExecuted); #line default #line hidden #line 74 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CutCanExecute); #line default #line hidden return; case 27: #line 75 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CopyExecuted); #line default #line hidden #line 75 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CopyCanExecute); #line default #line hidden return; case 28: #line 76 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PasteExecuted); #line default #line hidden #line 76 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.PasteCanExecute); #line default #line hidden return; case 29: #line 77 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeleteExecuted); #line default #line hidden #line 77 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.DeleteCanExecute); #line default #line hidden return; case 30: #line 78 "..\..\..\View\HtmlEditor.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SelectAllExecuted); #line default #line hidden return; case 31: this.CommandBar = ((System.Windows.Controls.ToolBar)(target)); return; case 32: this.ToggleCodeMode = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 33: this.ToggleBrowe = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 34: this.TogglePrint = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 35: this.FontFamilyList = ((System.Windows.Controls.ComboBox)(target)); return; case 36: this.FontSizeList = ((System.Windows.Controls.ComboBox)(target)); return; case 37: this.ToggleJustifyLeft = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 38: this.ToggleJustifyCenter = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 39: this.ToggleJustifyRight = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 40: this.ToggleJustifyFull = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 41: this.ToggleNumberedList = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 42: this.ToggleBulletedList = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 43: this.ToggleSuperscript = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 44: this.ToggleSubscript = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 45: this.ToggleBold = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 46: this.ToggleItalic = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 47: this.ToggleUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 48: this.ToggleStrikeThrough = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 49: this.ToggleFontColor = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 50: this.FontColorContextMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 51: this.FontColorPicker = ((Msl.HtmlEditor.ColorPicker)(target)); return; case 52: this.ToggleLineColor = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 53: this.LineColorContextMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 54: this.LineColorPicker = ((Msl.HtmlEditor.ColorPicker)(target)); return; case 55: this.ClearStyleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 56: this.ToggleFaceImage = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 57: this.FaceImageContextMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 58: this.FaceImagePicker = ((Msl.HtmlEditor.FacePicker)(target)); return; case 59: this.InsertHyperlink = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 60: this.TxtEditor = ((System.Windows.Controls.TextBox)(target)); return; case 61: this.BrowserHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target)); return; case 62: this.VisualEditor = ((System.Windows.Forms.WebBrowser)(target)); return; } this._contentLoaded = true; }