void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.m1 = ((System.Windows.Controls.Button)(target));
                return;

            case 2:
                this.m3 = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.m4 = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.y1 = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.y2 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.max = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.lineChart = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 8:
                this.Line = ((Syncfusion.UI.Xaml.Charts.LineSeries)(target));
                return;

            case 9:
                this.TWOCalendars = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.CalendarFrom = ((System.Windows.Controls.Calendar)(target));
                return;

            case 11:
                this.CalendarTo = ((System.Windows.Controls.Calendar)(target));
                return;
            }
            this._contentLoaded = true;
        }
 private void SetLineJoinEffect(Native.ChartSeriesCollection chartSeries)
 {
     foreach (var series in chartSeries)
     {
         Native.LineSeries lineSeries = series as Native.LineSeries;
         if (lineSeries != null)
         {
             var segment = typeof(Native.ChartSeriesBase).GetField("Segments", BindingFlags.GetField | BindingFlags.Instance | BindingFlags.NonPublic).GetValue(lineSeries) as ObservableCollection <Native.ChartSegment>;
             if (segment != null)
             {
                 foreach (var lineSegment in segment)
                 {
                     var segPath = lineSegment.GetRenderedVisual();
                     if (segPath != null)
                     {
                         (segPath as Line).StrokeStartLineCap = PenLineCap.Round;
                         (segPath as Line).StrokeEndLineCap   = PenLineCap.Round;
                     }
                 }
             }
         }
     }
 }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.zSuffron = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 65 "..\..\..\Home.xaml"
                this.zSuffron.Click += new System.Windows.RoutedEventHandler(this.zSuffron_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.zLime = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 66 "..\..\..\Home.xaml"
                this.zLime.Click += new System.Windows.RoutedEventHandler(this.zLime_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.zOffice2016Colorful = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 68 "..\..\..\Home.xaml"
                this.zOffice2016Colorful.Click += new System.Windows.RoutedEventHandler(this.zOffice2016Colorful_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.zBlend = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 69 "..\..\..\Home.xaml"
                this.zBlend.Click += new System.Windows.RoutedEventHandler(this.zBlend_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.zMetro = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 72 "..\..\..\Home.xaml"
                this.zMetro.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 6:
                this.zAutumnBrights = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 73 "..\..\..\Home.xaml"
                this.zAutumnBrights.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 7:
                this.zFloraHues = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 74 "..\..\..\Home.xaml"
                this.zFloraHues.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 8:
                this.zPineapple = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 75 "..\..\..\Home.xaml"
                this.zPineapple.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 9:
                this.zTomotoSpectrum = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 76 "..\..\..\Home.xaml"
                this.zTomotoSpectrum.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 10:
                this.zRedChrome = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 77 "..\..\..\Home.xaml"
                this.zRedChrome.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 11:
                this.zPurpleChrome = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 78 "..\..\..\Home.xaml"
                this.zPurpleChrome.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 12:
                this.zBlueChrome = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 79 "..\..\..\Home.xaml"
                this.zBlueChrome.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 13:
                this.zGreenChrome = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 80 "..\..\..\Home.xaml"
                this.zGreenChrome.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 14:
                this.zElite = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 81 "..\..\..\Home.xaml"
                this.zElite.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 15:
                this.zLightCandy = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 82 "..\..\..\Home.xaml"
                this.zLightCandy.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 16:
                this.zSandyBeach = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 83 "..\..\..\Home.xaml"
                this.zSandyBeach.Click += new System.Windows.RoutedEventHandler(this.zPallet_Cliked);

            #line default
            #line hidden
                return;

            case 17:
                this.z_from = ((Syncfusion.Windows.Shared.DoubleTextBox)(target));
                return;

            case 18:
                this.z_inc = ((Syncfusion.Windows.Shared.DoubleTextBox)(target));
                return;

            case 19:
                this.z_to = ((Syncfusion.Windows.Shared.DoubleTextBox)(target));
                return;

            case 20:
                this.zGo = ((Syncfusion.Windows.Tools.Controls.ButtonAdv)(target));

            #line 110 "..\..\..\Home.xaml"
                this.zGo.Click += new System.Windows.RoutedEventHandler(this.ZGo_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.pg = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));
                return;

            case 22:
                this.zChart = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 23:
                this.avgChart0 = ((Syncfusion.UI.Xaml.Charts.BubbleSeries)(target));
                return;

            case 24:
                this.zChart1 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 25:
                this.avgChart1 = ((Syncfusion.UI.Xaml.Charts.LineSeries)(target));
                return;

            case 26:
                this.zChart2 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 27:
                this.avgChart2 = ((Syncfusion.UI.Xaml.Charts.AreaSeries)(target));
                return;

            case 28:
                this.zChart3 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 29:
                this.avgChart3 = ((Syncfusion.UI.Xaml.Charts.ColumnSeries)(target));
                return;

            case 30:
                this.zChart4 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 31:
                this.avgChart4 = ((Syncfusion.UI.Xaml.Charts.ScatterSeries)(target));
                return;

            case 32:
                this.zChart5 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 33:
                this.avgChart5 = ((Syncfusion.UI.Xaml.Charts.StepLineSeries)(target));
                return;

            case 34:
                this.zChart6 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 35:
                this.avgChart6 = ((Syncfusion.UI.Xaml.Charts.SplineSeries)(target));
                return;

            case 36:
                this.zChart7 = ((Syncfusion.UI.Xaml.Charts.SfChart)(target));
                return;

            case 37:
                this.avgChart7 = ((Syncfusion.UI.Xaml.Charts.BarSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }