public static void Set_CBExample2_ComboBoxItemConvert_Options(global::CBExample2.ComboBoxItemConvert obj, global::System.Collections.ObjectModel.ObservableCollection <global::CBExample2.ComboBoxItem> value, string targetNullValue) { if (value == null && targetNullValue != null) { value = (global::System.Collections.ObjectModel.ObservableCollection <global::CBExample2.ComboBoxItem>)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Collections.ObjectModel.ObservableCollection <global::CBExample2.ComboBoxItem>), targetNullValue); } obj.Options = value; }
public static void Set_CBExample2_ComboBoxItemConvert_ComboBoxEditText(global::CBExample2.ComboBoxItemConvert obj, global::System.String value, string targetNullValue) { if (value == null && targetNullValue != null) { value = targetNullValue; } obj.ComboBoxEditText = value ?? global::System.String.Empty; }
// IComponentConnector public void Connect(int connectionId, global::System.Object target) { switch (connectionId) { case 2: // MainPage.xaml line 12 this.obj2 = (global::CBExample2.ComboBoxItemConvert)target; break; case 3: // MainPage.xaml line 17 this.obj3 = (global::Windows.UI.Xaml.Controls.ComboBox)target; this.bindingsTracking.RegisterTwoWayListener_3(this.obj3); break; case 4: // MainPage.xaml line 26 this.obj4 = (global::Windows.UI.Xaml.Controls.TextBlock)target; this.bindingsTracking.RegisterTwoWayListener_4(this.obj4); break; default: break; } }