コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 72, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Default Functionalities</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(116, 193, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates using the Syncfusion ASP.NET Core Splitter component to divide a web page into distinct areas by inserting resizable panes.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(337, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(345, 1630, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "77b5d3ceea424760801d8a966968758c", async() => {
                    BeginContext(477, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(487, 1468, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fe26e966842242daaaae970f95021f8f", async() => {
                        BeginContext(502, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(516, 1164, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0ff16306c3c741b99f5238c4480f791c", async() => {
                            BeginContext(530, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(548, 1103, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "88321990075f43f98195594ff024b704", async() => {
                                BeginContext(568, 25, true);
                                WriteLiteral("\r\n                       ");
                                EndContext();
                                BeginContext(593, 1019, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ea4792c15fa1400eb6b71f2eeaee688f", async() => {
                                    BeginContext(714, 29, true);
                                    WriteLiteral("\r\n                           ");
                                    EndContext();
                                    BeginContext(743, 830, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3601e284ee8042c1ba87b0cab85354f2", async() => {
                                        BeginContext(758, 33, true);
                                        WriteLiteral("\r\n                               ");
                                        EndContext();
                                        BeginContext(791, 369, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9d482bc8ded14f7e9b734dd80d27089f", async() => {
                                            BeginContext(805, 72, true);
                                            WriteLiteral("                                   \r\n                                   ");
                                            EndContext();
                                            BeginContext(877, 235, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "177ae7b9283b41b382a0738586dad3c1", async() => {
                                                BeginContext(897, 194, true);
                                                WriteLiteral("\r\n                                       <div class=\"cont\">\r\n                                           Pane 1\r\n                                       </div>\r\n                                   ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1112, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1160, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1194, 334, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c2a128928b14d89a70cfbaf5c9f3e63", async() => {
                                            BeginContext(1208, 37, true);
                                            WriteLiteral("\r\n                                   ");
                                            EndContext();
                                            BeginContext(1245, 235, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1ef6a61664484fa7a935fab2186204d4", async() => {
                                                BeginContext(1265, 194, true);
                                                WriteLiteral("\r\n                                       <div class=\"cont\">\r\n                                           Pane 2\r\n                                       </div>\r\n                                   ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1480, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1528, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1573, 25, true);
                                    WriteLiteral("\r\n                       ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1612, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1651, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1680, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1694, 235, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8542c85b2ff440f9be3c782dca7ca99d", async() => {
                            BeginContext(1723, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1741, 159, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "37a5b14dce3c4caea4b2410a96509881", async() => {
                                BeginContext(1761, 118, true);
                                WriteLiteral("\r\n                    <div class=\"cont\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1900, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1929, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1955, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1975, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2002, 221, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .cont {\r\n            padding: 10px 0 0 10px;\r\n            text-align: center;\r\n        }\r\n\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 60, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Orientation</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(104, 201, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates both vertical and horizontal orientation of the panes, and changing orientations in the Syncfusion ASP.NET Core Splitter component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(333, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(339, 1719, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a0b2f7580c33471bb672421fa90dee42", async() => {
                    BeginContext(471, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(481, 1557, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "02b1b133ce924e07917f8606129f43ef", async() => {
                        BeginContext(496, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(510, 1248, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3105f02467b04722867de9ace2bb0305", async() => {
                            BeginContext(524, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(542, 1187, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f501af7418c34b8d9a936da48b5aa49e", async() => {
                                BeginContext(562, 91, true);
                                WriteLiteral("\r\n                    <div class=\"splitdiv\" style=\"height: 100%\">\r\n                        ");
                                EndContext();
                                BeginContext(653, 1009, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "492bd9b767474c14be059b99c87a08ab", async() => {
                                    BeginContext(774, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(804, 818, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "928896f39ec140df825497ac7b3a2584", async() => {
                                        BeginContext(819, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(853, 345, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5620f4f063264adc903b849e0203adce", async() => {
                                            BeginContext(868, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(906, 243, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "790075db1abb4a188e713670d0dae7f7", async() => {
                                                BeginContext(926, 202, true);
                                                WriteLiteral("\r\n                                        <div class=\"splitdiv\">\r\n                                            Pane 1\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1149, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1198, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1232, 344, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f657bb6d14754828a4c67b39840cbdaf", async() => {
                                            BeginContext(1246, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1284, 243, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9ce21fad24634ba1b2a4736ed344b688", async() => {
                                                BeginContext(1304, 202, true);
                                                WriteLiteral("\r\n                                        <div class=\"splitdiv\">\r\n                                            Pane 2\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1527, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1576, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1622, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1662, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1729, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1758, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1772, 240, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "acc2f55e30674513ac0ef2a3e5a29627", async() => {
                            BeginContext(1802, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1820, 163, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2636c483695244f2b656f91d6dc3ef45", async() => {
                                BeginContext(1840, 122, true);
                                WriteLiteral("\r\n                    <div class=\"splitdiv\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1983, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2012, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2038, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2058, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(2090, 143, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Orientation\r\n        </div>\r\n        <div class=\"col-md-3\"> \r\n            ");
                EndContext();
                BeginContext(2233, 148, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "234940f4e20c4530a92785c13056ed11", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 49 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2381, 208, true);
                WriteLiteral("\r\n            <div id=\"evntname\">\r\n                <ul>\r\n                    <li>Horizontal</li>\r\n                    <li>Vertical</li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2615, 863, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var splitterOutter, splitterInner;
        function onOrientationChange(args) {
            splitterOutter = $(""#outer"").data(""ejSplitter"");
            splitterInner = $(""#inner"").data(""ejSplitter"");
              switch (args.selectedText) {
                case ""Vertical"":
                    splitterInner.option(""width"", ""100%"")
                    splitterOutter.option(""orientation"", ""horizontal"");
                    splitterInner.option(""orientation"", ""vertical"");
                    break;
                case ""Horizontal"":
                    splitterOutter.option(""orientation"", ""vertical"");
                    splitterInner.option(""orientation"", ""horizontal"");
                    break;
            }
        }

        $(""#sampleProperties"").ejPropertiesPanel();
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3503, 121, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 72, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Default Functionalities</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(116, 193, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates using the Syncfusion ASP.NET Core Splitter component to divide a web page into distinct areas by inserting resizable panes.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(337, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(345, 1630, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b34482da56b54907b208c7bb4a8bdf71", async() => {
                    BeginContext(477, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(487, 1468, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "726d59a5740d4520a5fa3bb7796c7c8d", async() => {
                        BeginContext(502, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(516, 1164, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "acae8d3c5eaf41c38a7315638741030a", async() => {
                            BeginContext(530, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(548, 1103, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a42687266c0f47b091a36b16ea569cdb", async() => {
                                BeginContext(568, 25, true);
                                WriteLiteral("\r\n                       ");
                                EndContext();
                                BeginContext(593, 1019, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "df229d3632a648dd8287cc8203031785", async() => {
                                    BeginContext(714, 29, true);
                                    WriteLiteral("\r\n                           ");
                                    EndContext();
                                    BeginContext(743, 830, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a613e913c6c84c2e92fbc325ec50e64c", async() => {
                                        BeginContext(758, 33, true);
                                        WriteLiteral("\r\n                               ");
                                        EndContext();
                                        BeginContext(791, 369, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d0250ecdcbc4061a2676b294b72ffa0", async() => {
                                            BeginContext(805, 72, true);
                                            WriteLiteral("                                   \r\n                                   ");
                                            EndContext();
                                            BeginContext(877, 235, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b8d6f8fe552143c48bcaf8d677606292", async() => {
                                                BeginContext(897, 194, true);
                                                WriteLiteral("\r\n                                       <div class=\"cont\">\r\n                                           Pane 1\r\n                                       </div>\r\n                                   ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1112, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1160, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1194, 334, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc84c9277f404a36a7258b665327605f", async() => {
                                            BeginContext(1208, 37, true);
                                            WriteLiteral("\r\n                                   ");
                                            EndContext();
                                            BeginContext(1245, 235, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a1cb3acd9d1c4d4ea91271316f5d2c6b", async() => {
                                                BeginContext(1265, 194, true);
                                                WriteLiteral("\r\n                                       <div class=\"cont\">\r\n                                           Pane 2\r\n                                       </div>\r\n                                   ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1480, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1528, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1573, 25, true);
                                    WriteLiteral("\r\n                       ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1612, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1651, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1680, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1694, 235, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3546d7325dd409d94baf2ba813179e8", async() => {
                            BeginContext(1723, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1741, 159, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3ab65d5bcbe44af3a8dfa0147c1ef7a8", async() => {
                                BeginContext(1761, 118, true);
                                WriteLiteral("\r\n                    <div class=\"cont\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1900, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1929, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1955, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Default.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1975, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2002, 221, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .cont {\r\n            padding: 10px 0 0 10px;\r\n            text-align: center;\r\n        }\r\n\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 55, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Events</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(99, 175, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to access the Syncfusion ASP.NET Core Splitter component functionalities using keyboard interactions.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(302, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(308, 1688, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e0f645b2751540c3a479034299b07c94", async() => {
                    BeginContext(440, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(450, 1526, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5ad8bc750f7244e38af4ba534a7e4ce9", async() => {
                        BeginContext(465, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(479, 1223, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "26ebcfea00bb437586682e3daffe7466", async() => {
                            BeginContext(493, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(511, 1162, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3db991279bbd462f90d95873740bcc2d", async() => {
                                BeginContext(531, 74, true);
                                WriteLiteral("\r\n                    <div style=\"height: 100%\">\r\n                        ");
                                EndContext();
                                BeginContext(605, 1001, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fb998be317784452b81093eed641b2bf", async() => {
                                    BeginContext(726, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(756, 810, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8dccb2cc429f40929c26018d504a5390", async() => {
                                        BeginContext(771, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(805, 341, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7e464aa3fed0496a859bc5068bc7ca97", async() => {
                                            BeginContext(819, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(857, 240, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8b1a56c886f447ffbfc90e864e37b588", async() => {
                                                BeginContext(877, 199, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 1\r\n                                        </div> \r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1097, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1146, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1180, 340, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "31d1208478d8428a9f151c5e065e1aba", async() => {
                                            BeginContext(1194, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1232, 239, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "731b58ccf95d4225bfead4c1b6c2da7e", async() => {
                                                BeginContext(1252, 198, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 2\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1471, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1520, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1566, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1606, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1673, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1702, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1716, 234, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1e7c5edb9714251881fae700064908a", async() => {
                            BeginContext(1744, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1762, 159, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "95567bbd90024df884ea16ab2c23fa81", async() => {
                                BeginContext(1782, 118, true);
                                WriteLiteral("\r\n                    <div class=\"cont\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1921, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1950, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1976, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1996, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(2028, 2798, true);
                WriteLiteral(@"
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + j
        </div>
        <div class=""col-md-3"">
            Focuses the first Splitbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Tab
        </div>
        <div class=""col-md-3"">
            Focuses the next Splitbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Shift + Tab
        </div>
        <div class=""col-md-3"">
            Focuses the previous Splitbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Enter
        </div>
        <div class=""col-md-3"">
            Resize the Pane to the current Splitbar position.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            <br />
            Esc
        </div>
        <div class=""col-md-3"">
            <br />
            Focuses out from the Splitbar
        </div>
    </div>
");
                WriteLiteral(@"    <div class=""row"">
        <div class=""col-md-3"">
            <br />
            For Horizontal:
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Left
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Left
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Right
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Right
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Left
        </div>
        <div class=""col-md-3"">
            Collapses the left Pane
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Right
        </div>
        <div class=""col-md-3"">
            Collapses the right Pane
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            For Vertical:
        </div>
    </div>
    <div class");
                WriteLiteral(@"=""row"">
        <div class=""col-md-3"">
            Up
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Bottom
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Down
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Right
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Up
        </div>
        <div class=""col-md-3"">
            Collapses the top Pane
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Down
        </div>
        <div class=""col-md-3"">
            Collapses the bottom Pane
        </div>
    </div>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(4852, 398, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        $(function () {
            //Control focus key
            $(document).on(""keydown"", function (e) {
                if (e.altKey && e.keyCode === 74) { // j- key code.
                    $(""#outer .e-splitbar"")[0].focus();
                }
            });
            $(""#sampleProperties"").ejPropertiesPanel();
        });
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(5275, 221, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .cont {\r\n            text-align: center;\r\n            padding: 10px 0 0 10px;\r\n        }\r\n\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 52, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Rtl</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(96, 162, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to display content from right to left in the Syncfusion ASP.NET Core Splitter component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(286, 5, true);
                WriteLiteral("\r\n   ");
                EndContext();
                BeginContext(291, 3330, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e74b6e4ad824330b2f18ad1cb0e9e9c", async() => {
                    BeginContext(450, 9, true);
                    WriteLiteral("\r\n       ");
                    EndContext();
                    BeginContext(459, 3143, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "837446323df443fba706637039e2dc82", async() => {
                        BeginContext(474, 13, true);
                        WriteLiteral("\r\n           ");
                        EndContext();
                        BeginContext(487, 426, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "230d727abf374f1caa89a331dc4e09a9", async() => {
                            BeginContext(530, 17, true);
                            WriteLiteral("\r\n               ");
                            EndContext();
                            BeginContext(547, 338, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1701be82dbe546c78d0f69c69f5b7420", async() => {
                                BeginContext(567, 297, true);
                                WriteLiteral(@"
                   <div>
                       <div class=""content"" style=""padding: 5px 15px;"">
                           <h3 class=""h3"">
                               لغات البرمجة
                           </h3>
                       </div>
                   </div>
               ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(885, 13, true);
                            WriteLiteral("\r\n           ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(913, 13, true);
                        WriteLiteral("\r\n           ");
                        EndContext();
                        BeginContext(926, 2651, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "62205e623e2d4be6846c89aa4e57010f", async() => {
                            BeginContext(940, 17, true);
                            WriteLiteral("\r\n               ");
                            EndContext();
                            BeginContext(957, 2592, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2a50422b39fe42aa8d4308a89f0855bd", async() => {
                                BeginContext(977, 40, true);
                                WriteLiteral("                   \r\n                   ");
                                EndContext();
                                BeginContext(1017, 2494, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b66e187c16148c392bfd78f5106f7ad", async() => {
                                    BeginContext(1108, 25, true);
                                    WriteLiteral("\r\n                       ");
                                    EndContext();
                                    BeginContext(1133, 2343, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "306eacc60e0b4c58a5f9ec6193a4cfde", async() => {
                                        BeginContext(1148, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                        BeginContext(1177, 791, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1bd63a73a1d14a5ca7973bc248975dec", async() => {
                                            BeginContext(1221, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                            BeginContext(1254, 670, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "40105bd9a7f240c9934c60fbdbeb5e79", async() => {
                                                BeginContext(1274, 629, true);
                                                WriteLiteral(@"
                                   <div>
                                       <div class=""content"">
                                           <h3 class=""h3"">
                                               سكريبت
                                           </h3>
                                           جافا سكريبت (JS) هو تفسير لغة برمجة الكمبيوتر. بالفعل تم تنفيذها كجزء من متصفحات
                                           الويب بحيث البرامج النصية من جانب العميل يمكن أن تتفاعل مع المستخدم
                                       </div>
                                   </div>
                               ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1924, 29, true);
                                            WriteLiteral("\r\n                           ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1968, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                        BeginContext(1997, 769, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8f7f6d0740f7423f8bdaf4c2f48b886d", async() => {
                                            BeginContext(2042, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                            BeginContext(2075, 647, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f194643b6e614d3d973662bff08261bf", async() => {
                                                BeginContext(2095, 606, true);
                                                WriteLiteral(@"
                                   <div>
                                       <div class=""content"">
                                           <h3 class=""h3"">
                                               C شارب
                                           </h3>
                                           والمقصود أن تكون بسيطة وحديثة، للأغراض العامة لغة البرمجة وجوه المنحى C #. أحدث
                                           إصدار هو C # 5.0، والذي صدر في 15 أغسطس 2012.
                                       </div>
                                   </div>
                               ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(2722, 29, true);
                                            WriteLiteral("\r\n                           ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_3.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(2766, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                        BeginContext(2795, 640, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9cc08068a550409099825cf70536e1ce", async() => {
                                            BeginContext(2824, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                            BeginContext(2857, 534, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4d3cdf3a80be4e3fb6dff69706076ee8", async() => {
                                                BeginContext(2877, 493, true);
                                                WriteLiteral(@"
                                   <div>
                                       <div class=""content"">
                                           <h3 class=""h3"">البصرية الأساسية</h3>
                                           NET Framework لواحد سطر الأوامر مترجم VB.NET. أحدث إصدار هو VB 2012، والذي صدر في
                                           15 أغسطس 2012.
                                       </div>
                                   </div>
                               ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(3391, 29, true);
                                            WriteLiteral("\r\n                           ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(3435, 25, true);
                                        WriteLiteral("\r\n                       ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(3476, 21, true);
                                    WriteLiteral("\r\n                   ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(3511, 17, true);
                                WriteLiteral("\r\n               ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(3549, 13, true);
                            WriteLiteral("\r\n           ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3577, 9, true);
                        WriteLiteral("\r\n       ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3602, 5, true);
                    WriteLiteral("\r\n   ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableRTL = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_SplitterProperties.EnableRTL, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3621, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3648, 271, true);
                WriteLiteral(@"
    <style type=""text/css"" class=""cssStyles"">
        h3 {
            font-size: 18px;
            margin: 0;
        }

        #innerSplitter {
            border: 0 none;
        }

        .content {
            padding: 15px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 55, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Events</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(99, 175, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to access the Syncfusion ASP.NET Core Splitter component functionalities using keyboard interactions.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(302, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(308, 1688, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a5061355e5224e3cb1e6db3697b9e206", async() => {
                    BeginContext(440, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(450, 1526, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a17db0c13ad047008bb43284e8b79c64", async() => {
                        BeginContext(465, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(479, 1223, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "96cedebb38be4ad78cbcd98fb2077e34", async() => {
                            BeginContext(493, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(511, 1162, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f2976f61904744c8b4556f4d2df9ae69", async() => {
                                BeginContext(531, 74, true);
                                WriteLiteral("\r\n                    <div style=\"height: 100%\">\r\n                        ");
                                EndContext();
                                BeginContext(605, 1001, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "125543fdb40e44bdabc590c1a838104e", async() => {
                                    BeginContext(726, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(756, 810, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a46fafc0bbff4d7c9e799fe05272364f", async() => {
                                        BeginContext(771, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(805, 341, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f91955d30ad54604bbff3ba774ff47fe", async() => {
                                            BeginContext(819, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(857, 240, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "057ae4df440f4b7f90e89324503d2177", async() => {
                                                BeginContext(877, 199, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 1\r\n                                        </div> \r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1097, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1146, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1180, 340, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bec2e19e6a354c3a912a17b384657c76", async() => {
                                            BeginContext(1194, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1232, 239, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63275d375f564e18883dbdad2955c36a", async() => {
                                                BeginContext(1252, 198, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 2\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1471, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1520, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1566, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1606, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1673, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1702, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1716, 234, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6eaf044f46d2439493d6413a852ca0d7", async() => {
                            BeginContext(1744, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1762, 159, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ed71858ca1d14b28b00380416c89c360", async() => {
                                BeginContext(1782, 118, true);
                                WriteLiteral("\r\n                    <div class=\"cont\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1921, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1950, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1976, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Keyboard.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1996, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(2028, 2798, true);
                WriteLiteral(@"
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + j
        </div>
        <div class=""col-md-3"">
            Focuses the first Splitbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Tab
        </div>
        <div class=""col-md-3"">
            Focuses the next Splitbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Shift + Tab
        </div>
        <div class=""col-md-3"">
            Focuses the previous Splitbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Enter
        </div>
        <div class=""col-md-3"">
            Resize the Pane to the current Splitbar position.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            <br />
            Esc
        </div>
        <div class=""col-md-3"">
            <br />
            Focuses out from the Splitbar
        </div>
    </div>
");
                WriteLiteral(@"    <div class=""row"">
        <div class=""col-md-3"">
            <br />
            For Horizontal:
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Left
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Left
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Right
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Right
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Left
        </div>
        <div class=""col-md-3"">
            Collapses the left Pane
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Right
        </div>
        <div class=""col-md-3"">
            Collapses the right Pane
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            For Vertical:
        </div>
    </div>
    <div class");
                WriteLiteral(@"=""row"">
        <div class=""col-md-3"">
            Up
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Bottom
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Down
        </div>
        <div class=""col-md-3"">
            Moves the Splitbar in Right
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Up
        </div>
        <div class=""col-md-3"">
            Collapses the top Pane
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Down
        </div>
        <div class=""col-md-3"">
            Collapses the bottom Pane
        </div>
    </div>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(4852, 398, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        $(function () {
            //Control focus key
            $(document).on(""keydown"", function (e) {
                if (e.altKey && e.keyCode === 74) { // j- key code.
                    $(""#outer .e-splitbar"")[0].focus();
                }
            });
            $(""#sampleProperties"").ejPropertiesPanel();
        });
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(5275, 221, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .cont {\r\n            text-align: center;\r\n            padding: 10px 0 0 10px;\r\n        }\r\n\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 64, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Nested Splitter</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(108, 195, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates nested pane support for the Syncfusion ASP.NET Core Splitter component, which allows adding a pane between two pane elements.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(331, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(337, 3179, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d1063bc56b764dd99e0b1edf50c433cc", async() => {
                    BeginContext(478, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(488, 3008, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b8e0ff00c44415bbb8fd6cfb40a7ce7", async() => {
                        BeginContext(503, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(517, 393, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0efe01bc26ab4ade99c45ba5c3fc91da", async() => {
                            BeginContext(560, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(578, 303, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3d2c121b1736429b8170721758b0a8eb", async() => {
                                BeginContext(598, 262, true);
                                WriteLiteral(@"
                    <div>
                        <div class=""content"" style=""padding: 0px 15px;"">
                            <h3> FRENCH CITIES
                            </h3>
                        </div>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(881, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(910, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(924, 2546, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "96df9d297ef343a19336ab20ac2e99c3", async() => {
                            BeginContext(951, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(969, 2472, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "15a4c30992564e60b5fda3cdc6aec4ba", async() => {
                                BeginContext(989, 73, true);
                                WriteLiteral("\r\n                    <div style=\"height:100%\">\r\n                        ");
                                EndContext();
                                BeginContext(1062, 2312, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bd6c82f360db41acae8422d9ea4a7694", async() => {
                                    BeginContext(1154, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(1184, 2150, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "680a689cb76244a48c5c4903ea4a73e4", async() => {
                                        BeginContext(1199, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1233, 666, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1df897babcb541b2bc413ac4cffd749c", async() => {
                                            BeginContext(1276, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1314, 536, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ff44cec8351410a88f0cd934b9c7ca0", async() => {
                                                BeginContext(1334, 495, true);
                                                WriteLiteral(@"
                                        <div>
                                            <div class=""content"">
                                                <h3 class=""h3"">PARIS</h3>
                                                Paris, the city of lights and love - this short guide is full of ideas for how to make the most of the romanticism...
                                            </div>
                                        </div> 
                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1850, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1899, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1933, 651, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c56c98bd36a44840b6d191ffc07ffc31", async() => {
                                            BeginContext(1977, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(2015, 520, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "008f9189ae3e4ccda55b96015fadbdcb", async() => {
                                                BeginContext(2035, 479, true);
                                                WriteLiteral(@"
                                        <div>
                                            <div class=""content"">
                                                <h3 class=""h3"">CAMEMBERT</h3>
                                                The village in the Orne département of Normandy where the famous French cheese is originated from.
                                            </div>
                                        </div>
                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(2535, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(2584, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(2618, 670, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6f60343acdad4b859fe7459a0997cdf2", async() => {
                                            BeginContext(2646, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(2684, 555, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1f1ef3a16c6c4e539e322f7bba491eab", async() => {
                                                BeginContext(2704, 514, true);
                                                WriteLiteral(@"
                                        <div>
                                            <div class=""content"">
                                                <h3 class=""h3"">GRENOBLE</h3>
                                                The capital city of the French Alps and a major scientific center surrounded by many ski resorts, host of the Winter Olympics in 1968.
                                            </div>
                                        </div>
                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(3239, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(3288, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(3334, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(3374, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(3441, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3470, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3496, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3516, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3543, 287, true);
                WriteLiteral(@"
    <style type=""text/css"" class=""cssStyles"">
        .content>h3 {
            font-size: 14px;
            font-weight: 600;
        }

        #innerSplitter {
            border: 0 none;
        }

        .content {
            padding: 15px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 60, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Orientation</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(104, 201, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates both vertical and horizontal orientation of the panes, and changing orientations in the Syncfusion ASP.NET Core Splitter component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(333, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(339, 1719, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "60433ab481384723a09e169fbafa17b3", async() => {
                    BeginContext(471, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(481, 1557, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7af9d8a24e234ffd8448312cd991b09b", async() => {
                        BeginContext(496, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(510, 1248, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1b58ee475b4447aebb1e0efae01afc04", async() => {
                            BeginContext(524, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(542, 1187, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "682b53257e89479daac7a8201ca3763f", async() => {
                                BeginContext(562, 91, true);
                                WriteLiteral("\r\n                    <div class=\"splitdiv\" style=\"height: 100%\">\r\n                        ");
                                EndContext();
                                BeginContext(653, 1009, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674a147ea78f470991cc258e8f4df014", async() => {
                                    BeginContext(774, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(804, 818, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "300e1e43d1854ca4b4bc19e7670295b4", async() => {
                                        BeginContext(819, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(853, 345, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f0417bb80f2c4125a16b99bb634ad685", async() => {
                                            BeginContext(868, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(906, 243, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e94157195e1f4079839f65cc19cc66ee", async() => {
                                                BeginContext(926, 202, true);
                                                WriteLiteral("\r\n                                        <div class=\"splitdiv\">\r\n                                            Pane 1\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1149, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1198, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1232, 344, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "37593f140b064a1491b7f6ce96a18f14", async() => {
                                            BeginContext(1246, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1284, 243, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fb6717d4a2d6412f86624abd34ccdcd1", async() => {
                                                BeginContext(1304, 202, true);
                                                WriteLiteral("\r\n                                        <div class=\"splitdiv\">\r\n                                            Pane 2\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1527, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1576, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1622, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1662, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1729, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1758, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1772, 240, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4e1fd26a0ee34728bb203c99fe9654d7", async() => {
                            BeginContext(1802, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1820, 163, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "df4b74edb7f344cd9073b9368de10965", async() => {
                                BeginContext(1840, 122, true);
                                WriteLiteral("\r\n                    <div class=\"splitdiv\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1983, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2012, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2038, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2058, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(2090, 143, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Orientation\r\n        </div>\r\n        <div class=\"col-md-3\"> \r\n            ");
                EndContext();
                BeginContext(2233, 148, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39efea219a1d4ac79077c1a40d92b2b9", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 49 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Orientation.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2381, 208, true);
                WriteLiteral("\r\n            <div id=\"evntname\">\r\n                <ul>\r\n                    <li>Horizontal</li>\r\n                    <li>Vertical</li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2615, 863, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var splitterOutter, splitterInner;
        function onOrientationChange(args) {
            splitterOutter = $(""#outer"").data(""ejSplitter"");
            splitterInner = $(""#inner"").data(""ejSplitter"");
              switch (args.selectedText) {
                case ""Vertical"":
                    splitterInner.option(""width"", ""100%"")
                    splitterOutter.option(""orientation"", ""horizontal"");
                    splitterInner.option(""orientation"", ""vertical"");
                    break;
                case ""Horizontal"":
                    splitterOutter.option(""orientation"", ""vertical"");
                    splitterInner.option(""orientation"", ""horizontal"");
                    break;
            }
        }

        $(""#sampleProperties"").ejPropertiesPanel();
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3503, 121, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 64, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Nested Splitter</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(108, 195, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates nested pane support for the Syncfusion ASP.NET Core Splitter component, which allows adding a pane between two pane elements.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(331, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(337, 3179, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fdcee3dc19d74d9fadaf84344a3be1d2", async() => {
                    BeginContext(478, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(488, 3008, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd2959d29b9c4851abf3fe6e9075bafd", async() => {
                        BeginContext(503, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(517, 393, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "335b18ba870f4e83b0b91c833cfdcdd0", async() => {
                            BeginContext(560, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(578, 303, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "826f2efcd8214d9586d3708c9abd9430", async() => {
                                BeginContext(598, 262, true);
                                WriteLiteral(@"
                    <div>
                        <div class=""content"" style=""padding: 0px 15px;"">
                            <h3> FRENCH CITIES
                            </h3>
                        </div>
                    </div>
                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(881, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(910, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(924, 2546, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "50adc21a68404491a5ba11007d5dd512", async() => {
                            BeginContext(951, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(969, 2472, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9daadc498002420596b19afab989e524", async() => {
                                BeginContext(989, 73, true);
                                WriteLiteral("\r\n                    <div style=\"height:100%\">\r\n                        ");
                                EndContext();
                                BeginContext(1062, 2312, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "65fafed96a6346c6b23de8c4796d15ce", async() => {
                                    BeginContext(1154, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(1184, 2150, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2a4fa66bf8e3460cb2e54003322e5052", async() => {
                                        BeginContext(1199, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1233, 666, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "65417d08f7b440f9b7cdbf9a13a19a41", async() => {
                                            BeginContext(1276, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1314, 536, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a83b35af1d344848d7f4f9988709991", async() => {
                                                BeginContext(1334, 495, true);
                                                WriteLiteral(@"
                                        <div>
                                            <div class=""content"">
                                                <h3 class=""h3"">PARIS</h3>
                                                Paris, the city of lights and love - this short guide is full of ideas for how to make the most of the romanticism...
                                            </div>
                                        </div> 
                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1850, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1899, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1933, 651, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3f6efce54ba744e3a8fca17c1e20a36e", async() => {
                                            BeginContext(1977, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(2015, 520, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "08e54a4d6a3147269a58058eb1515eca", async() => {
                                                BeginContext(2035, 479, true);
                                                WriteLiteral(@"
                                        <div>
                                            <div class=""content"">
                                                <h3 class=""h3"">CAMEMBERT</h3>
                                                The village in the Orne département of Normandy where the famous French cheese is originated from.
                                            </div>
                                        </div>
                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(2535, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(2584, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(2618, 670, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c9a5c6378a3a4f3086ec9c570e6b3980", async() => {
                                            BeginContext(2646, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(2684, 555, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "00fccdad0e2049d9b135e6b379e65a7c", async() => {
                                                BeginContext(2704, 514, true);
                                                WriteLiteral(@"
                                        <div>
                                            <div class=""content"">
                                                <h3 class=""h3"">GRENOBLE</h3>
                                                The capital city of the French Alps and a major scientific center surrounded by many ski resorts, host of the Winter Olympics in 1968.
                                            </div>
                                        </div>
                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(3239, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(3288, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(3334, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(3374, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(3441, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3470, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3496, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\NestedSplitter.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3516, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3543, 287, true);
                WriteLiteral(@"
    <style type=""text/css"" class=""cssStyles"">
        .content>h3 {
            font-size: 14px;
            font-weight: 600;
        }

        #innerSplitter {
            border: 0 none;
        }

        .content {
            padding: 15px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #10
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 61, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Integaration</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(105, 182, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates the integration of other Syncfusion ASP.NET Core components with the Syncfusion ASP.NET Core Splitter component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(315, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(321, 2549, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "98fe543ffcd74d628374f015edf58aae", async() => {
                    BeginContext(426, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(436, 2414, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8d3613643964c88af7492d7379b3dfe", async() => {
                        BeginContext(451, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(465, 1157, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d65326c9a7f24d2b8614c85b48c1b333", async() => {
                            BeginContext(494, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(512, 1081, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "00b0f44bfba54df19dad16ac2d977a97", async() => {
                                BeginContext(532, 1040, true);
                                WriteLiteral(@"
                    <div class=""cont"">
                        <h3>FRENCH CITIES</h3>
                        <ul id=""treeView"" class=""visibleHide"">
                            <li>
                                PARIS
                                <ul>
                                    <li id=""tools"" class=""_child"">Speciality</li>
                                </ul>
                            </li>
                            <li>
                                CAMEMBERT
                                <ul>
                                    <li id=""chart"" class=""_child"">Speciality </li>
                                </ul>
                            </li>
                            <li>
                                GRENOBLE
                                <ul>
                                    <li id=""grid"" class=""_child"">Speciality</li>
                                </ul>
                            </li>
                        </ul>
                    </div>
");
                                WriteLiteral("                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1593, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1622, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1636, 1188, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "22f6520e0665402b8c29a87d97d0a1c6", async() => {
                            BeginContext(1666, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1684, 1111, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-Template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e9b30a5410fa4f1eba96867b3036ca43", async() => {
                                BeginContext(1704, 1070, true);
                                WriteLiteral(@"
                    <div class=""cont"">
                        <div class=""_content"">
                            Select any city from the tree to show the description.
                        </div>
                        <div class=""tools des"">
                            <h3>PARIS</h3>
                            Paris, the city of lights and love - this short guide is full of ideas for how to make the most of the romanticism...
                        </div>
                        <div class=""chart des"">
                            <h3>CAMEMBERT</h3>
                            The village in the Orne département of Normandy where the famous French cheese is originated from.
                        </div>
                        <div class=""grid des"">
                            <h3>GRENOBLE</h3>
                            The capital city of the French Alps and a major scientific center surrounded by many ski resorts, host of the Winter Olympics in 1968.
                        </div>");
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(2795, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2824, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2850, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Integaration.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Integaration.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2870, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2898, 419, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        $(function () {
            $(""#treeView"").ejTreeView({ nodeSelect: ""treeClicked"" });
        });
        function treeClicked(sender, args) {
            if (sender.currentElement.hasClass('_child')) {
                var content = $('.' + sender.currentElement[0].id).html();
                $('._content').html(content);
            }
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3342, 405, true);
                WriteLiteral(@"
    <style type=""text/css"">
        .cont {
            padding: 20px;
            min-width: 50px;
        }

            .cont #treeView_Container {
                margin-bottom: 0;
                border: none;
            }

       .cont>h3 {
            font-size: 14px;
            font-weight: 600;
        }

        .des {
            display: none;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #11
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 52, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Rtl</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(96, 162, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to display content from right to left in the Syncfusion ASP.NET Core Splitter component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(286, 5, true);
                WriteLiteral("\r\n   ");
                EndContext();
                BeginContext(291, 3330, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "435e1bb63f9746c880f331e188aab678", async() => {
                    BeginContext(450, 9, true);
                    WriteLiteral("\r\n       ");
                    EndContext();
                    BeginContext(459, 3143, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eb6bdaccef03486c93bbc0804a53fa7a", async() => {
                        BeginContext(474, 13, true);
                        WriteLiteral("\r\n           ");
                        EndContext();
                        BeginContext(487, 426, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9a620d6ec8a7449e9be62dc0333565c5", async() => {
                            BeginContext(530, 17, true);
                            WriteLiteral("\r\n               ");
                            EndContext();
                            BeginContext(547, 338, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "94153648c2914025b4819f6e485949ce", async() => {
                                BeginContext(567, 297, true);
                                WriteLiteral(@"
                   <div>
                       <div class=""content"" style=""padding: 5px 15px;"">
                           <h3 class=""h3"">
                               لغات البرمجة
                           </h3>
                       </div>
                   </div>
               ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(885, 13, true);
                            WriteLiteral("\r\n           ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(913, 13, true);
                        WriteLiteral("\r\n           ");
                        EndContext();
                        BeginContext(926, 2651, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae3601d355804be4a8fddbb4fd502365", async() => {
                            BeginContext(940, 17, true);
                            WriteLiteral("\r\n               ");
                            EndContext();
                            BeginContext(957, 2592, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3bed6c48cb494a58bfedc231f57e8274", async() => {
                                BeginContext(977, 40, true);
                                WriteLiteral("                   \r\n                   ");
                                EndContext();
                                BeginContext(1017, 2494, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1df71bd021404c138254e4590cb05fc1", async() => {
                                    BeginContext(1108, 25, true);
                                    WriteLiteral("\r\n                       ");
                                    EndContext();
                                    BeginContext(1133, 2343, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "181982afba9946dea2b4a9b1231e6ef9", async() => {
                                        BeginContext(1148, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                        BeginContext(1177, 791, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5b470bdf9edd43099925f2876931673b", async() => {
                                            BeginContext(1221, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                            BeginContext(1254, 670, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6de7bb96a296448d84d7db9531b7171a", async() => {
                                                BeginContext(1274, 629, true);
                                                WriteLiteral(@"
                                   <div>
                                       <div class=""content"">
                                           <h3 class=""h3"">
                                               سكريبت
                                           </h3>
                                           جافا سكريبت (JS) هو تفسير لغة برمجة الكمبيوتر. بالفعل تم تنفيذها كجزء من متصفحات
                                           الويب بحيث البرامج النصية من جانب العميل يمكن أن تتفاعل مع المستخدم
                                       </div>
                                   </div>
                               ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1924, 29, true);
                                            WriteLiteral("\r\n                           ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_2.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1968, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                        BeginContext(1997, 769, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39ba9c9828c14253a2112b395446d983", async() => {
                                            BeginContext(2042, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                            BeginContext(2075, 647, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5bbb68842f541c8baba9122ad91b21f", async() => {
                                                BeginContext(2095, 606, true);
                                                WriteLiteral(@"
                                   <div>
                                       <div class=""content"">
                                           <h3 class=""h3"">
                                               C شارب
                                           </h3>
                                           والمقصود أن تكون بسيطة وحديثة، للأغراض العامة لغة البرمجة وجوه المنحى C #. أحدث
                                           إصدار هو C # 5.0، والذي صدر في 15 أغسطس 2012.
                                       </div>
                                   </div>
                               ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(2722, 29, true);
                                            WriteLiteral("\r\n                           ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        __Syncfusion_JavaScript_Models_PaneProperties.PaneSize = (string)__tagHelperAttribute_3.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(2766, 29, true);
                                        WriteLiteral("\r\n                           ");
                                        EndContext();
                                        BeginContext(2795, 640, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "92eef7023b274e12b06c38cc2dc6c6ad", async() => {
                                            BeginContext(2824, 33, true);
                                            WriteLiteral("\r\n                               ");
                                            EndContext();
                                            BeginContext(2857, 534, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "741c91132eaa4db393e2ba2439caea40", async() => {
                                                BeginContext(2877, 493, true);
                                                WriteLiteral(@"
                                   <div>
                                       <div class=""content"">
                                           <h3 class=""h3"">البصرية الأساسية</h3>
                                           NET Framework لواحد سطر الأوامر مترجم VB.NET. أحدث إصدار هو VB 2012، والذي صدر في
                                           15 أغسطس 2012.
                                       </div>
                                   </div>
                               ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(3391, 29, true);
                                            WriteLiteral("\r\n                           ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        __Syncfusion_JavaScript_Models_PaneProperties.MinSize = (string)__tagHelperAttribute_1.Value;
                                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(3435, 25, true);
                                        WriteLiteral("\r\n                       ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(3476, 21, true);
                                    WriteLiteral("\r\n                   ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_5.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(3511, 17, true);
                                WriteLiteral("\r\n               ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(3549, 13, true);
                            WriteLiteral("\r\n           ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3577, 9, true);
                        WriteLiteral("\r\n       ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3602, 5, true);
                    WriteLiteral("\r\n   ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableRTL = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_SplitterProperties.EnableRTL, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3621, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3648, 271, true);
                WriteLiteral(@"
    <style type=""text/css"" class=""cssStyles"">
        h3 {
            font-size: 18px;
            margin: 0;
        }

        #innerSplitter {
            border: 0 none;
        }

        .content {
            padding: 15px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #12
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 55, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Events</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(99, 201, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates client-side events and triggered events when particular operations are performed in the Syncfusion ASP.NET Core Splitter component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(328, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(334, 1834, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8fa580a6091464db87c97905de567af", async() => {
                    BeginContext(538, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(548, 1600, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7829219469e947f2a74328f4db3b0f97", async() => {
                        BeginContext(563, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(577, 1311, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5bc18b0176e48f0aa419a26e6ad7356", async() => {
                            BeginContext(591, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(609, 1250, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e9f1045462384edb959344aa0d542d57", async() => {
                                BeginContext(629, 91, true);
                                WriteLiteral("\r\n                    <div class=\"splitdiv\" style=\"height: 100%\">\r\n                        ");
                                EndContext();
                                BeginContext(720, 1072, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0cc4e361ba0c4542b525dae2da9e034b", async() => {
                                    BeginContext(913, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(943, 809, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "19905b00066f44289644bab1adccee64", async() => {
                                        BeginContext(958, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(992, 340, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7c0b8edf118140bcb22b8cec13d85cb2", async() => {
                                            BeginContext(1006, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1044, 239, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2d391c074e7e4728b190806d9a0f4bc1", async() => {
                                                BeginContext(1064, 198, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 1\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1283, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1332, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1366, 340, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cfe439692357423aaf62dc2e5cc11f14", async() => {
                                            BeginContext(1380, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1418, 239, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7674b23a18fe4d10839f8dcd177dd9b5", async() => {
                                                BeginContext(1438, 198, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 2\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1657, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1706, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1752, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                __Syncfusion_JavaScript_Models_SplitterProperties.BeforeExpandCollapse = (string)__tagHelperAttribute_2.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Resize = (string)__tagHelperAttribute_3.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Create = (string)__tagHelperAttribute_4.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1792, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1859, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1888, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1902, 220, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ee8327dbcf7b4376b7db9e8b08682bba", async() => {
                            BeginContext(1916, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1934, 159, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ecd995b20ced48ed91a2be53ecc45fe1", async() => {
                                BeginContext(1954, 118, true);
                                WriteLiteral("\r\n                    <div class=\"cont\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(2093, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2122, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2148, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_SplitterProperties.BeforeExpandCollapse = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_SplitterProperties.Resize = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Create = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2168, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("EventsDropdown", async() => {
                BeginContext(2197, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(2203, 154, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a1ce32faace472a8a8ff2c3710297a3", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
#line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-checkbox", __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("check-all", __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2357, 140, true);
                WriteLiteral("\r\n    <div id=\"evntname\">\r\n        <ul>\r\n            <li>beforeExpandCollapse</li>\r\n            <li>resize</li>\r\n        </ul>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2523, 1710, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var splitterOutter, splitterInner;
        $(function () {
            splitterOutter = $(""#outer"").data(""ejSplitter"");
            splitterInner = $(""#inner"").data(""ejSplitter"");
        });

        function evtpropscheckedevent(args) {
            if (args.isChecked) {
                switch (args.selectedText) {
                    case ""beforeExpandCollapse"":
                        splitterOutter.option(args.selectedValue, ""oncollapse"");
                        splitterInner.option(args.selectedValue, ""oncollapse"");
                        break;
                    case ""resize"":
                        splitterOutter.option(args.selectedValue, ""onresize"");
                        splitterInner.option(args.selectedValue, ""onresize"");
                        break;
                }
            }
            else {
                splitterOutter.option(args.selectedText, null);
                splitterInner.option(args.selectedText, nul");
                WriteLiteral(@"l);
            }
        }

        function oncreate(args) {
            jQuery.addEventLog(this.element[0].id + "" has been <span class='eventTitle'>created</span>."");
        }
        function oncollapse(args) {
            jQuery.addEventLog(""pane"" + args.collapsed.index + "" has been <span class='eventTitle'>collapsed</span> and "" +
            args.expanded.index + "" has been <span class='eventTitle'>expanded</span>."");
        }
        function onresize(args) {
            jQuery.addEventLog(""Splitter has been <span class='eventTitle'>resized</span>."");
        }
        function onClear() {
            $(""#EventLog"").html("""");
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(4258, 170, true);
                WriteLiteral("\r\n    <style type=\"text/css\">\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n\r\n        .cont {\r\n            padding: 10px 0 0 10px;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #13
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 55, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Splitter / Events</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(99, 201, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates client-side events and triggered events when particular operations are performed in the Syncfusion ASP.NET Core Splitter component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(328, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(334, 1834, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "46da49ba84664d4e8fa0295044c5603c", async() => {
                    BeginContext(538, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(548, 1600, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff9d1e86bffc4ba9a2e09b6aa2f3a6bb", async() => {
                        BeginContext(563, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(577, 1311, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "331a60d0d8c44fd085bbfdfa0023757f", async() => {
                            BeginContext(591, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(609, 1250, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7ff723ced2c147b79175cefd0114e6ea", async() => {
                                BeginContext(629, 91, true);
                                WriteLiteral("\r\n                    <div class=\"splitdiv\" style=\"height: 100%\">\r\n                        ");
                                EndContext();
                                BeginContext(720, 1072, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-Splitter", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "886581b66f554852bc5b3950e0288f0a", async() => {
                                    BeginContext(913, 30, true);
                                    WriteLiteral("\r\n                            ");
                                    EndContext();
                                    BeginContext(943, 809, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-panes", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2252825a697d440a868e512b8bca6642", async() => {
                                        BeginContext(958, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(992, 340, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "019254a5a6b54bfd832c10e3c2d7f108", async() => {
                                            BeginContext(1006, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1044, 239, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "709b29b4352f4a54bce61e38fd5f2032", async() => {
                                                BeginContext(1064, 198, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 1\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1283, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1332, 34, true);
                                        WriteLiteral("\r\n                                ");
                                        EndContext();
                                        BeginContext(1366, 340, false);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f3ae29e10e1452c901f2d7cddcba642", async() => {
                                            BeginContext(1380, 38, true);
                                            WriteLiteral("\r\n                                    ");
                                            EndContext();
                                            BeginContext(1418, 239, false);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e622af4000774004888e39576938e687", async() => {
                                                BeginContext(1438, 198, true);
                                                WriteLiteral("\r\n                                        <div class=\"cont\">\r\n                                            Pane 2\r\n                                        </div>\r\n                                    ");
                                                EndContext();
                                            }
                                                                                                        );
                                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                                            {
                                                await __tagHelperExecutionContext.SetOutputContentAsync();
                                            }
                                            Write(__tagHelperExecutionContext.Output);
                                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                            EndContext();
                                            BeginContext(1657, 34, true);
                                            WriteLiteral("\r\n                                ");
                                            EndContext();
                                        }
                                                                                                    );
                                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                                        {
                                            await __tagHelperExecutionContext.SetOutputContentAsync();
                                        }
                                        Write(__tagHelperExecutionContext.Output);
                                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                        EndContext();
                                        BeginContext(1706, 30, true);
                                        WriteLiteral("\r\n                            ");
                                        EndContext();
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1752, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_1.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Horizontal;

#line default
#line hidden
                                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                                __Syncfusion_JavaScript_Models_SplitterProperties.BeforeExpandCollapse = (string)__tagHelperAttribute_2.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Resize = (string)__tagHelperAttribute_3.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                __Syncfusion_JavaScript_Models_SplitterProperties.Create = (string)__tagHelperAttribute_4.Value;
                                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1792, 46, true);
                                WriteLiteral("\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1859, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1888, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1902, 220, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-split-pane", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0572826a5b7d4fb89f332633a8fe46c8", async() => {
                            BeginContext(1916, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1934, 159, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "53d4292786b94f4d83ec516ffb024d30", async() => {
                                BeginContext(1954, 118, true);
                                WriteLiteral("\r\n                    <div class=\"cont\">\r\n                        Pane 3\r\n                    </div>\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(2093, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PaneProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PaneProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PaneProperties);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2122, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_SplitterCollection = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterCollection>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterCollection);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2148, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_SplitterProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitterProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitterProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_SplitterProperties.Height = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_SplitterProperties.Width = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SplitterProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-auto-resize", __Syncfusion_JavaScript_Models_SplitterProperties.EnableAutoResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_SplitterProperties.BeforeExpandCollapse = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_SplitterProperties.Resize = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_SplitterProperties.Create = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_SplitterProperties.Orientation = Orientation.Vertical;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_SplitterProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2168, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("EventsDropdown", async() => {
                BeginContext(2197, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(2203, 154, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aaaf7d41caf840b0b8f5413890fab142", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
#line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-checkbox", __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Splitter\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("check-all", __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2357, 140, true);
                WriteLiteral("\r\n    <div id=\"evntname\">\r\n        <ul>\r\n            <li>beforeExpandCollapse</li>\r\n            <li>resize</li>\r\n        </ul>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2523, 1710, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var splitterOutter, splitterInner;
        $(function () {
            splitterOutter = $(""#outer"").data(""ejSplitter"");
            splitterInner = $(""#inner"").data(""ejSplitter"");
        });

        function evtpropscheckedevent(args) {
            if (args.isChecked) {
                switch (args.selectedText) {
                    case ""beforeExpandCollapse"":
                        splitterOutter.option(args.selectedValue, ""oncollapse"");
                        splitterInner.option(args.selectedValue, ""oncollapse"");
                        break;
                    case ""resize"":
                        splitterOutter.option(args.selectedValue, ""onresize"");
                        splitterInner.option(args.selectedValue, ""onresize"");
                        break;
                }
            }
            else {
                splitterOutter.option(args.selectedText, null);
                splitterInner.option(args.selectedText, nul");
                WriteLiteral(@"l);
            }
        }

        function oncreate(args) {
            jQuery.addEventLog(this.element[0].id + "" has been <span class='eventTitle'>created</span>."");
        }
        function oncollapse(args) {
            jQuery.addEventLog(""pane"" + args.collapsed.index + "" has been <span class='eventTitle'>collapsed</span> and "" +
            args.expanded.index + "" has been <span class='eventTitle'>expanded</span>."");
        }
        function onresize(args) {
            jQuery.addEventLog(""Splitter has been <span class='eventTitle'>resized</span>."");
        }
        function onClear() {
            $(""#EventLog"").html("""");
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(4258, 170, true);
                WriteLiteral("\r\n    <style type=\"text/css\">\r\n        #inner {\r\n            border: 0 none;\r\n        }\r\n\r\n        .cont {\r\n            padding: 10px 0 0 10px;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }