public void Connect(int connectionId, object target) { switch (connectionId) { case 2: // Views\CustomVision\RegionEditorControl.xaml line 31 { global::Windows.UI.Xaml.Controls.Primitives.Thumb element2 = (global::Windows.UI.Xaml.Controls.Primitives.Thumb)(target); ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element2).DragDelta += this.OnTopLeftDragDelta; ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element2).PointerReleased += this.OnThumbReleased; } break; case 3: // Views\CustomVision\RegionEditorControl.xaml line 32 { global::Windows.UI.Xaml.Controls.Primitives.Thumb element3 = (global::Windows.UI.Xaml.Controls.Primitives.Thumb)(target); ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element3).DragDelta += this.OnBottomLeftDragDelta; ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element3).PointerReleased += this.OnThumbReleased; } break; case 4: // Views\CustomVision\RegionEditorControl.xaml line 33 { global::Windows.UI.Xaml.Controls.Primitives.Thumb element4 = (global::Windows.UI.Xaml.Controls.Primitives.Thumb)(target); ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element4).DragDelta += this.OnTopRightDragDelta; ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element4).PointerReleased += this.OnThumbReleased; } break; case 5: // Views\CustomVision\RegionEditorControl.xaml line 34 { global::Windows.UI.Xaml.Controls.Primitives.Thumb element5 = (global::Windows.UI.Xaml.Controls.Primitives.Thumb)(target); ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element5).DragDelta += this.OnBottomRightDragDelta; ((global::Windows.UI.Xaml.Controls.Primitives.Thumb)element5).PointerReleased += this.OnThumbReleased; } break; case 6: // Views\CustomVision\RegionEditorControl.xaml line 20 { global::Windows.UI.Xaml.Controls.ComboBox element6 = (global::Windows.UI.Xaml.Controls.ComboBox)(target); ((global::Windows.UI.Xaml.Controls.ComboBox)element6).SelectionChanged += this.OnTagComboBoxSelectionChanged; } break; case 7: // Views\CustomVision\RegionEditorControl.xaml line 22 { global::Windows.UI.Xaml.Controls.Button element7 = (global::Windows.UI.Xaml.Controls.Button)(target); ((global::Windows.UI.Xaml.Controls.Button)element7).Click += this.DeleteRegionClicked; } break; default: break; } this._contentLoaded = true; }
public ThumbAutomationPeer(global::Windows.UI.Xaml.Controls.Primitives.Thumb owner) : base(owner) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.Automation.Peers.ThumbAutomationPeer", "ThumbAutomationPeer.ThumbAutomationPeer(Thumb owner)"); }
private static global::Windows.UI.Xaml.TemplateInstance Instantiate_ControlTemplate_7ccfff71a0114b1295e3d943a9e6e0c7(global::Windows.UI.Xaml.FrameworkElement templateOwner) { var templateInstance_8450f63a5d83462e8f83459f689dc38c = new global::Windows.UI.Xaml.TemplateInstance(); templateInstance_8450f63a5d83462e8f83459f689dc38c.TemplateOwner = templateOwner; var Grid_7d5f63f475a54a5bbff239be7e8be75e = new global::Windows.UI.Xaml.Controls.Grid(); var Thumb_6726f3e455d64fbab3cf89bb054990f8 = new global::Windows.UI.Xaml.Controls.Primitives.Thumb(); ((global::Windows.UI.Xaml.Controls.Control)templateOwner).RegisterName("PART_Thumb", Thumb_6726f3e455d64fbab3cf89bb054990f8); Thumb_6726f3e455d64fbab3cf89bb054990f8.Name = "PART_Thumb"; Thumb_6726f3e455d64fbab3cf89bb054990f8.Opacity = (global::System.Double)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Double), @"0"); var ContentPresenter_dad0417808c74b25ac4c5e5182a5992a = new global::Windows.UI.Xaml.Controls.ContentPresenter(); ContentPresenter_dad0417808c74b25ac4c5e5182a5992a.IsHitTestVisible = (global::System.Boolean)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::System.Boolean), @"False"); var Binding_68e8976a53a44a37a63274c826a3281b = new global::Windows.UI.Xaml.Data.Binding(); Binding_68e8976a53a44a37a63274c826a3281b.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"Element"); var RelativeSource_7dfbc1f104f2418e9ccf585fb2f3a82d = new global::Windows.UI.Xaml.Data.RelativeSource(); RelativeSource_7dfbc1f104f2418e9ccf585fb2f3a82d.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent; Binding_68e8976a53a44a37a63274c826a3281b.RelativeSource = RelativeSource_7dfbc1f104f2418e9ccf585fb2f3a82d; Binding_68e8976a53a44a37a63274c826a3281b.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c; var Binding_d0ae12447320407e8b2b25cb5fd88bcb = new global::Windows.UI.Xaml.Data.Binding(); Binding_d0ae12447320407e8b2b25cb5fd88bcb.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"ContentTemplate"); var RelativeSource_6c048aeffe8f46d4be81b962305286a7 = new global::Windows.UI.Xaml.Data.RelativeSource(); RelativeSource_6c048aeffe8f46d4be81b962305286a7.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent; Binding_d0ae12447320407e8b2b25cb5fd88bcb.RelativeSource = RelativeSource_6c048aeffe8f46d4be81b962305286a7; Binding_d0ae12447320407e8b2b25cb5fd88bcb.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c; Grid_7d5f63f475a54a5bbff239be7e8be75e.Children.Add(Thumb_6726f3e455d64fbab3cf89bb054990f8); Grid_7d5f63f475a54a5bbff239be7e8be75e.Children.Add(ContentPresenter_dad0417808c74b25ac4c5e5182a5992a); var Binding_369df61b15e2483cb102f8860ba54d8d = new global::Windows.UI.Xaml.Data.Binding(); Binding_369df61b15e2483cb102f8860ba54d8d.Path = (global::Windows.UI.Xaml.PropertyPath)global::DotNetForHtml5.Core.TypeFromStringConverters.ConvertFromInvariantString(typeof(global::Windows.UI.Xaml.PropertyPath), @"Background"); var RelativeSource_841fdd2e411c415fb0cc3ece5a76c8ef = new global::Windows.UI.Xaml.Data.RelativeSource(); RelativeSource_841fdd2e411c415fb0cc3ece5a76c8ef.Mode = global::Windows.UI.Xaml.Data.RelativeSourceMode.TemplatedParent; Binding_369df61b15e2483cb102f8860ba54d8d.RelativeSource = RelativeSource_841fdd2e411c415fb0cc3ece5a76c8ef; Binding_369df61b15e2483cb102f8860ba54d8d.TemplateOwner = templateInstance_8450f63a5d83462e8f83459f689dc38c; ContentPresenter_dad0417808c74b25ac4c5e5182a5992a.SetBinding(global::Windows.UI.Xaml.Controls.ContentControl.ContentProperty, Binding_68e8976a53a44a37a63274c826a3281b); ContentPresenter_dad0417808c74b25ac4c5e5182a5992a.SetBinding(global::Windows.UI.Xaml.Controls.ContentControl.ContentTemplateProperty, Binding_d0ae12447320407e8b2b25cb5fd88bcb); Grid_7d5f63f475a54a5bbff239be7e8be75e.SetBinding(global::Windows.UI.Xaml.Controls.Panel.BackgroundProperty, Binding_369df61b15e2483cb102f8860ba54d8d); templateInstance_8450f63a5d83462e8f83459f689dc38c.TemplateContent = Grid_7d5f63f475a54a5bbff239be7e8be75e; return(templateInstance_8450f63a5d83462e8f83459f689dc38c); }