Пример #1
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 2:     // Views\ShellPage.xaml line 15
                    this.obj2 = (global::Microsoft.UI.Xaml.Controls.NavigationView)target;
                    break;

                case 3:     // Views\ShellPage.xaml line 37
                    this.obj3 = (global::App5.Behaviors.NavigationViewHeaderBehavior)target;
                    break;

                default:
                    break;
                }
            }
Пример #2
0
 public static void Set_App5_Behaviors_NavigationViewHeaderBehavior_DefaultHeader(global::App5.Behaviors.NavigationViewHeaderBehavior obj, global::System.Object value, string targetNullValue)
 {
     if (value == null && targetNullValue != null)
     {
         value = (global::System.Object)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Object), targetNullValue);
     }
     obj.DefaultHeader = value;
 }