Ejemplo n.º 1
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 7:
                    this.obj7 = (global::Windows.UI.Xaml.Controls.SplitView)target;
                    (this.obj7).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.SplitView.IsPaneOpenProperty,
                                                                (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.IsPaneOpen = this.obj7.IsPaneOpen;
                        }
                    });
                    break;

                case 9:
                    this.obj9 = (global::Windows.UI.Xaml.Controls.ItemsControl)target;
                    break;

                case 10:
                    this.obj10 = (global::Windows.UI.Xaml.Controls.ItemsControl)target;
                    break;

                default:
                    break;
                }
            }
Ejemplo n.º 2
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 6:
                    this.obj6 = (global::Windows.UI.Xaml.Controls.SplitView)target;
                    (this.obj6).RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.SplitView.IsPaneOpenProperty,
                                                                (global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop) =>
                    {
                        if (this.initialized)
                        {
                            // Update Two Way binding
                            this.dataRoot.splitViewToggle.IsChecked = (global::System.Nullable <global::System.Boolean>) this.LookupConverter("NullableBooleanToBooleanKey").ConvertBack((this.obj6).IsPaneOpen, typeof(global::System.Nullable <global::System.Boolean>), null, null);
                        }
                    });
                    break;

                case 8:
                    this.obj8 = (global::Windows.UI.Xaml.Controls.ListView)target;
                    break;

                default:
                    break;
                }
            }
Ejemplo n.º 3
0
 public static void Set_Windows_UI_Xaml_Controls_SplitView_IsPaneOpen(global::Windows.UI.Xaml.Controls.SplitView obj, global::System.Boolean value)
 {
     obj.IsPaneOpen = value;
 }
Ejemplo n.º 4
0
 public static void Set_Windows_UI_Xaml_Controls_SplitView_DisplayMode(global::Windows.UI.Xaml.Controls.SplitView obj, global::Windows.UI.Xaml.Controls.SplitViewDisplayMode value)
 {
     obj.DisplayMode = value;
 }