コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 56, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Target</span>\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(107, 45, true);
                WriteLiteral("\r\n    <div id=\"form\" class=\"frame\">\r\n        ");
                EndContext();
                BeginContext(152, 1400, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d675a00a74264a13bd67f50e8b1a5353", async() => {
                    BeginContext(183, 1052, true);
                    WriteLiteral(@"
            <fieldset>
                <div class=""form-group"">
                    <label for=""name"">User Name:</label>
                    <input class=""form-control"" type=""text"" id=""name"" name=""firstname"" title=""Please enter your name"">
                </div>
                <div class=""form-group"">
                    <label for=""email"">Email Address:</label>
                    <input class=""form-control"" id=""email"" type=""text"" name=""email"" title=""Enter a valid email address"">
                </div>
                <div class=""form-group"">
                    <label for=""pwd"">Password:</label>
                    <input class=""form-control"" id=""pwd"" type=""password"" name=""pwd"" title=""Be at least 8 characters length"">
                </div>
                <div class=""form-group"">
                    <label for=""Cpwd"">Confirm Password:</label>
                    <input class=""form-control"" type=""password"" id=""Cpwd"" name=""Cpwd"" title=""Re-enter your password"">
                </div>
     ");
                    WriteLiteral("          \r\n                ");
                    EndContext();
                    BeginContext(1235, 122, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e26a2782b5ff4ec19a5e939a766b21dc", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "typeof", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    AddHtmlAttributeValue("", 1280, ButtonType.Submit, 1280, 18, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Medium;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, 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(1357, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(1375, 117, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6e9629c6752045a5aa69c387bdcf4863", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "typeof", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    AddHtmlAttributeValue("", 1418, ButtonType.Reset, 1418, 17, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Medium;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, 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(1492, 53, true);
                    WriteLiteral("\r\n                \r\n            </fieldset>\r\n        ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1552, 18, true);
                WriteLiteral("\r\n    </div>\r\n\r\n\r\n");
                EndContext();
                BeginContext(1570, 298, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c1b81f2a3b0e400ba0eac348d5907f3c", async() => {
                    BeginContext(1685, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1691, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d584cd19a5fe46f1b6a606b4a40aaff3", async() => {
                        BeginContext(1711, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1721, 47, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "60f90b20bc2d4afb931bc6463bab1efd", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_6.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1768, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1778, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "bb40a9898c4b49f392df2ae4f93049e0", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1826, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1853, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Target = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_TooltipProperties.BeforeOpen = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1868, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(1873, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(1902, 241, true);
                WriteLiteral("\r\n    <div id=\"sampleProperties\">\r\n    <div class=\"prop-grid\">\r\n        <div class=\"row\">\r\n            <div class=\"col-md-6\">\r\n                Trigger\r\n            </div>\r\n            <div class=\"col-md-6\">\r\n               \r\n                ");
                EndContext();
                BeginContext(2143, 124, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3b8338d7178a4343b7e80bd92f075a60", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 50 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2267, 356, true);
                WriteLiteral(@"
                <div id=""list"">
                    <ul>
                        <li value=""focus"" selected=""selected""> Focus </li>
                        <li value=""click""> Click </li>
                        <li value=""hover""> Hover </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
");
                EndContext();
            }
                          );
            BeginContext(2626, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(2651, 763, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
    var target;
    function onCreate() {
        target = $(""#details"").data(""ejTooltip"");
    }
    $(""#sampleProperties"").ejPropertiesPanel();
    function selectChange(args) {

        target.option(""trigger"", args.value)
    }
    function onOpen(args) {
        var currentElement = args.event.currentTarget, content = $(currentElement).attr(""data-content"");
        if (content == ""Enter a valid email address"")
            target.setModel({ cssClass: ""info"" });
            //$(target.tooltip).removeClass(""warning"").addClass(""info"");

        else
            target.setModel({ cssClass: ""warning"" });
        //$(target.tooltip).removeClass(""info"").addClass(""warning"");

    }

    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3439, 855, true);
                WriteLiteral(@"
    <style>
        .info {
            background-color: #f9ce9b;
            color: #b29b7f;
        }

        .warning {
            background-color: #e56161;
            color: #ffffff;
        }

        .cols-sample-area {
            height: 500px;
        }

        .frame {
            width: 500px;
            box-sizing: border-box;
            border: none;
        }

        .form-control {
            box-sizing: border-box;
        }

        .form-group {
            margin-bottom: 10px;
        }

        fieldset {
            border: 1px solid #D9DEDD;
            padding: 15px;
            width: 100%;
            box-sizing: border-box;
        }

        #sample {
            margin-right: 50px;
        }

        .e-button {
            margin: 10px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 71, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Default Functionalities</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(122, 768, true);
                WriteLiteral(@"

    
        <div class=""frame"">
            <div class=""control"">
                JavaScript is a high-level, dynamic, untyped, and interpreted programming language. It has been standardized in the <a id=""link1""><u> ECMAScript </u> </a>language specification. Alongside HTML and CSS, it is one of the three essential technologies of <a id=""link2""><u> World&nbsp;Wide&nbsp;Web </u> </a>content production; the majority of websites employ it and it is supported by all modern Web browsers without plug-ins. JavaScript is prototype-based with first-class functions, making it a multi-paradigm language, supporting <a id=""link3""> <u>object&nbsp;-&nbsp;oriented </u> </a>, imperative, and functional programming styles.
            </div>
        </div>
    

");
                EndContext();
                BeginContext(890, 183, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5505dbbed0524348888a3925e2c49649", async() => {
                    BeginContext(1058, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (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(1073, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(1077, 399, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a1c8be440ba34dd2a937c48823b58180", async() => {
                    BeginContext(1293, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1299, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d7b9ba5125c64106a8d58281aebd9b0e", async() => {
                        BeginContext(1319, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1329, 46, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3d796bd6fc604049a8ed7ce67145bffe", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1375, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1385, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "555e589c17ad4124ba41d5e4c96dd21c", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(1434, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1461, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1476, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(1480, 357, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cade79f672db4564961a3c9020bb72df", async() => {
                    BeginContext(1654, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1660, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c6a0d51c074f4b1e9648eee598d92a1c", async() => {
                        BeginContext(1680, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1690, 46, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8df34d4ccf5b433da1160313ae6bfdd7", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1736, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1746, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ebbec9033be8438caac0f20177e82e9b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(1795, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1822, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1837, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1864, 290, true);
                WriteLiteral(@"
    <style>
        u {
            color: #00b8e6;
        }

        .frame {
            width: 100%;
            box-sizing: border-box;
            line-height: 28px;
            text-align: ""justify"", font-family: ""Times New Roman"", Times, serif;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 71, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Default Functionalities</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(122, 768, true);
                WriteLiteral(@"

    
        <div class=""frame"">
            <div class=""control"">
                JavaScript is a high-level, dynamic, untyped, and interpreted programming language. It has been standardized in the <a id=""link1""><u> ECMAScript </u> </a>language specification. Alongside HTML and CSS, it is one of the three essential technologies of <a id=""link2""><u> World&nbsp;Wide&nbsp;Web </u> </a>content production; the majority of websites employ it and it is supported by all modern Web browsers without plug-ins. JavaScript is prototype-based with first-class functions, making it a multi-paradigm language, supporting <a id=""link3""> <u>object&nbsp;-&nbsp;oriented </u> </a>, imperative, and functional programming styles.
            </div>
        </div>
    

");
                EndContext();
                BeginContext(890, 183, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff965baae57644c694189590f7c57e5d", async() => {
                    BeginContext(1058, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (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(1073, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(1077, 399, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8145c188958843cba07f739528522fea", async() => {
                    BeginContext(1293, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1299, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aaef98cd817848128d1783dcf793393b", async() => {
                        BeginContext(1319, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1329, 46, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4ece60c214174b81bf750bbb435cbb49", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1375, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1385, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8b7d66d4d5074b78b445a539fc59ff98", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(1434, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1461, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1476, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(1480, 357, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bbffa93d3eff4487a0ccc31c6f81d20b", async() => {
                    BeginContext(1654, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1660, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0621506164574c42bad83a85241b0260", async() => {
                        BeginContext(1680, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1690, 46, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b37830770b3640ddab8735a7db3e2a1c", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1736, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1746, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "38a4bc58bd3048229f59354143d4b006", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(1795, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1822, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1837, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1864, 290, true);
                WriteLiteral(@"
    <style>
        u {
            color: #00b8e6;
        }

        .frame {
            width: 100%;
            box-sizing: border-box;
            line-height: 28px;
            text-align: ""justify"", font-family: ""Times New Roman"", Times, serif;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #4
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\">Tooltip / Ajax Content</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(111, 1390, true);
                WriteLiteral(@"

    <div class=""control"">
        <div class=""content-container-fluid"">
            <div id=""sample"" class=""frame table-responsive"">
                <table id=""details table"">
                    <tr>
                        <th>EmployeeID</th>
                        <th>Name</th>
                        <th>Designation</th>
                    </tr>
                    <tr>
                        <td>SF6089</td>
                        <td><a href=""#"" class=""e-info"" title=""Davolio"">Davolio</a></td>
                        <td>Software Engineer</td>
                    </tr>
                    <tr>
                        <td>SF6073</td>
                        <td> <a href=""#"" class=""e-info"" title=""Leverling"">Leverling </a> </td>
                        <td>Tester</td>
                    </tr>
                    <tr>
                        <td>SF6073</td>
                        <td> <a href=""#"" class=""e-info"" title=""Suyama""> Suyama </a> </td>
                        <td>Conte");
                WriteLiteral(@"nt Writer</td>
                    </tr>
                    <tr>
                        <td>SF7896</td>
                        <td> <a href=""#"" class=""e-info"" title=""Buchanan""> Buchanan </a> </td>
                        <td>Graphics Designer</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>

    
");
                EndContext();
                BeginContext(1501, 278, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "536784b1127b4269aee40c3ef164cbf8", async() => {
                    BeginContext(1595, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1601, 159, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c54ea34010c24d9796233142cd34ec6d", async() => {
                        BeginContext(1621, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1631, 43, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4eee6752bb4143189cf2ff999392f825", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1674, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1684, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "79067e433d6f44d9be3211d6738d9309", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(1733, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1760, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Target = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.BeforeOpen = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1779, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1808, 886, true);
                WriteLiteral(@"
    <style>
        .frame {
            width: 550px;
            box-sizing: border-box;
            border: none;
        }

            .frame table {
                border-collapse: collapse;
                width: 100%;
                border: 1px solid grey;
                box-sizing: border-box;
            }

            .frame th, .frame td {
                text-align: left;
                padding: 8px;
            }

        .logo {
            float: left;
            width: 100px;
            height: 114px;
        }

        .frame tr:nth-child(even) {
            background-color: #f2f2f2;
        }

        .frame th {
            background-color: #4CAF50;
            color: white;
        }

        .des {
            width: 230px;
            float: right;
            line-height: 24px;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2720, 281, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
    var content;
    var target;
    function onCreate(args) {
        target = $(""#sample"").data(""ejTooltip"");
    }
    function onOpen(args) {
        proxy = args;
        $.ajax({
            dataType: ""json"",
            url: '");
                EndContext();
                BeginContext(3002, 47, false);
#line 101 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\AjaxContent.cshtml"
                Write(Url.Content("~/scripts/Tooltip/tooltipData.js"));

#line default
#line hidden
                EndContext();
                BeginContext(3049, 1460, true);
                WriteLiteral(@"',
                    success: function (result) {
                        var emp = [
                            { photo: ""../images/Employees/2.png"" },
                            { photo: ""../images/Employees/4.png"" },
                            { photo: ""../images/Employees/8.png"" },
                            { photo: ""../images/Employees/3.png"" },
                            {photo: ""../images/Employees/1.png"" },
                            { photo: ""../images/Employees/6.png"" }
                        ];
                        for (i = 0; i < result.length ; i++) {
                            if (result[i].LastName == $(proxy.event.target).attr(""data-content""))
                                content = '<div class=""main""> <img src=' + emp[i].photo + ' class=""logo""/><div class=""des""><table> <tr> <th> ' + result[i].TitleOfCourtesy+' '+result[i].LastName + '</th> </tr> <tr> <td> Title </td> <td>&nbsp;&nbsp;: ' + result[i].Title + '</td> </tr> <tr><td> Address</td><td>&nbsp;&nbsp;: ' + res");
                WriteLiteral(@"ult[i].Address + '</td> </tr><tr> <td> City </td> <td>&nbsp;&nbsp;: ' + result[i].City + '</td> </tr> <tr> <td> PostalCode </td> <td>&nbsp;&nbsp;: ' + result[i].PostalCode + '</td> </tr> </table></div></div>';
                        }
						target.setModel({ content: content });

                    }
                });
                target.show(args.event.target);
				args.cancel = true;
            }

    </script>
");
                EndContext();
            }
                          );
        }
コード例 #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 54, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Events</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(105, 230, true);
                WriteLiteral("\r\n    <div class=\"frame\" id=\"custom\">\r\n        <div class=\"image\">\r\n            <img src=\"../images/tooltip/template-06.png\" alt=\"Python Succinctly\">\r\n        </div>\r\n        <div class=\"desc\">Python Succinctly</div>\r\n    </div>\r\n");
                EndContext();
                BeginContext(335, 471, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "010fe0753ec745cea3805b2055719bd5", async() => {
                    BeginContext(623, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(629, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7e3796a245f54bbeba5e5645159168e5", async() => {
                        BeginContext(649, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(659, 46, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cdf1aa280d02474b966df42d84106b59", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(705, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(715, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2438bf09857443ef9a3cacfa80cb4c52", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(764, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(791, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Tracking = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.BeforeOpen = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_TooltipProperties.Open = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_TooltipProperties.Close = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_TooltipProperties.BeforeClose = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Events.cshtml"
                __Syncfusion_JavaScript_Models_TooltipProperties.Associate = global::Syncfusion.JavaScript.Associate.MouseFollow;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("associate", __Syncfusion_JavaScript_Models_TooltipProperties.Associate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(806, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("EventsDropdown", async() => {
                BeginContext(835, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(837, 184, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db7f29f1018b47fd80aee9035b1cce61", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\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 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\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_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_DropDownListProperties.PopupShown = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1021, 303, true);
                WriteLiteral(@"
<div id=""list"">
    <ul>
        <li value=""create"">Create</li>
        <li value=""beforeOpen"">beforeOpen</li>
        <li value=""beforeClose"">beforeHide</li>
        <li value=""open"">open</li>
        <li value=""close"">close</li>
        <li value=""tracking"">tracking</li>
    </ul>
</div>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1349, 704, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        .frame {
            box-sizing: border-box;
            border: 1px solid #ccc !important;
            border-radius: 0px;
            padding: 0px;
            text-align: center;
            width: 160px;
        }

            .frame img {
                width: 100%;
            }

        .frame {
            width: 160px !important;
        }

        .circle {
            color: white;
            background: #1dabce;
            border-radius: 10px;
            padding: 2px;
        }

        .image {
            background-color: #ccc;
        }

        img {
            padding-top: 8px;
        }
    </style>
");
                EndContext();
            }
                          );
            BeginContext(2056, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(2081, 2847, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var dialogObj;
        var dropObj;
    var trackCount = 1;
    var target, target1, target2;
    // Event wire and unwire
    function evtpropscheckedevent(args) {
        if (args.isChecked) {
            switch (args.selectedValue) {
                case ""create"":
                    target.option(args.selectedValue, ""tipCreate"");
                    break;
                case ""beforeClose"":
                    target.option(args.selectedValue, ""tipHide"");
                    break;
                case ""beforeOpen"":
                    target.option(args.selectedValue, ""tipShown"");
                    break;
                case ""close"":
                    target.option(args.selectedValue, ""onHide"");
                    break;
                case ""open"":
                    target.option(args.selectedValue, ""onShow"");
                    break;
                case ""tracking"":
                    target.option(args.selectedValue, ""t");
                WriteLiteral(@"ipTrack"");
                    break;
            }
        }
        else {
            target.option(args.selectedValue, null);

        }
    }

    function tipCreate(sender) {
        target = $(""#custom"").data(""ejTooltip"");
        jQuery.addEventLog(""Tooltip control has been <span class='eventTitle'>created</span>.<br/>"");

    }
    function tipTrack(sender) {
        if (trackCount == 1)
            jQuery.addEventLog(""Tooltip has been <span class='eventTitle'>Tracking</span> <span class='circle' id='count'>"" + trackCount + ""</span><br/>"");
        else {
            var target = $(""div.event-tracer > div > div.content > div.eventarea > div#EventLog > div.divEventTrace > span > span#count"");
            if (target != 0) {
                target = $(""div.event-tracer > div > div.content > div.eventarea > div#EventLog > div.divEventTrace > span > span#count"")[0];
                $(target).html('<span class=""circle"" id=""count"">' + trackCount + '</span>');
            }
        }
");
                WriteLiteral(@"
        trackCount++;
    }
    function tipHide(sender) {
        jQuery.addEventLog(""<span class='eventTitle'>beforeClose</span> event is fired for Tooltip.<br/>"");
        trackCount = 1;
    }
    function tipShown(sender) {
        jQuery.addEventLog(""<span class='eventTitle'>beforeOpen</span> event is fired for Tooltip.<br/>"");
        trackCount = 1;
    }
    function onHide(sender) {
        jQuery.addEventLog(""Tooltip popup is <span class='eventTitle'>closed</span>.<br/>"");
        trackCount = 1;
    }
    function onShow(sender) {
        jQuery.addEventLog(""Tooltip popup is <span class='eventTitle'>opened</span>.<br/>"");
        trackCount = 1;
    }
    function onClear() {
        jQuery.clearEventLog();
        trackCount = 1;
    }

    </script>
");
                EndContext();
            }
                          );
            BeginContext(4931, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
コード例 #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 56, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Template</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(107, 850, true);
                WriteLiteral(@"

    <div class=""content-container-fluid"">
        <div class=""row"">

            <div class=""frame"">
                <div class=""ctrl col-md-4"" id=""leftImg"">
                    <img class=""ctrImg"" src=""../images/tooltip/template-05.png"" />
                    <div class=""new"">Delphi Succinctly</div>
                </div>
                <div class=""ctrl col-md-4"" id=""centerImg"">
                    <img class=""ctrImg"" src=""../images/tooltip/template-04.png"" />
                    <div class=""new"">Roslyn Succinctly</div>
                </div>
                <div class=""ctrl col-md-4"" id=""RightImg"">
                    <img class=""ctrImg"" src=""../images/tooltip/template-06.png"" />
                    <div class=""new"">Python Succinctly</div>
                </div>

            </div>
        </div>
    </div>


");
                EndContext();
                BeginContext(957, 917, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "44b89303f3694a9d88161580e349e5ad", async() => {
                    BeginContext(1688, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1694, 165, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aa07f157037d492aa13619800045c064", async() => {
                        BeginContext(1714, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1724, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a947a65c23b24334b0444ca7eab374a0", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1772, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1782, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "14427ac3407848d7882419034877bf56", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(1832, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1859, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1874, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(1878, 904, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ce4c1ef2f304b36be2ce1c75bf67b3b", async() => {
                    BeginContext(2596, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(2602, 165, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "868045f80b054c76965a199a4d4696db", async() => {
                        BeginContext(2622, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(2632, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6e3205a3337041548015f7f721729cda", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(2680, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(2690, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "59cd6c61a2be4f4c99b19bd06b11840c", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(2740, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2767, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (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(2782, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(2786, 915, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bb80f8999fb04ac39b0a58c51207a156", async() => {
                    BeginContext(3515, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(3521, 165, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6e83895662514ea1b795b83f15e7ab51", async() => {
                        BeginContext(3541, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(3551, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8fd23329aae041509cda4b34f708b799", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(3599, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(3609, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5cefcf80833647ec92ec6e4e21ca9323", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(3659, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3686, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3701, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3730, 2017, true);
                WriteLiteral(@"
    <style>
        h4 {
            margin-top: 0px;
            margin-bottom: 2px;
        }

        #leftImg {
            margin: 30px;
        }

        #centerImg {
            margin: 30px;
        }

        #RightImg {
            margin: 30px;
        }

        .poster {
            float: left;
            box-sizing: border-box;
            padding: 4px 0px;
        }

        .new {
            text-align: center;
        }

        .frame {
            width: 100%;
            box-sizing: border-box;
            height: 430px;
        }

        .def {
            width: 280px;
            float: right;
            height: 230px;
        }

        .e-tooltip-wrap .e-tipContainer .e-tipcontent {
            padding: 4px 1px;
        }

        .e-tooltip-wrap {
            max-width: 485px;
        }

        .ctrl {
            border: 1px solid #ebebe0;
            width: 150px;
            padding: 5px;
            height: 225px;
    ");
                WriteLiteral(@"        margin-bottom: 50px;
            float: left;
        }

        .ctrImg {
            width: 150px;
        }

        .logo {
            float: left;
            height: 175px;
            padding-left: 10px;
        }

        .category {
            float: left;
            margin-left: 10px;
        }

        .link {
            padding: 2px;
        }



        .main {
            width: 430px;
            height: 190px;
            box-sizing: border-box;
        }

        .description {
            width: 285px;
            margin-top: 20px;
            height: 60px;
            background-color: inherit;
            line-height: 20px;
        }

        .author {
            float: left;
        }

        .rate {
            height: 50px;
            clear: both;
        }

        .e-button {
            margin-right: 10px;
        }

        img {
            padding-top: 8px;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(5773, 357, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
    function onCreate() {
        $("".rating"").ejRating({ height: ""30"", allowReset: false, value: 4 });
        $("".button1"").ejButton({ width: ""120px"", height: ""32px"", showRoundedCorner: true });
        $("".button2"").ejButton({ width: ""135px"", height: ""32px"", showRoundedCorner: true });
    }
    </script>

");
                EndContext();
            }
                          );
        }
コード例 #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 56, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Target</span>\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(107, 45, true);
                WriteLiteral("\r\n    <div id=\"form\" class=\"frame\">\r\n        ");
                EndContext();
                BeginContext(152, 1400, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "918a0b39742e4cff8660a6686aac1b2b", async() => {
                    BeginContext(183, 1052, true);
                    WriteLiteral(@"
            <fieldset>
                <div class=""form-group"">
                    <label for=""name"">User Name:</label>
                    <input class=""form-control"" type=""text"" id=""name"" name=""firstname"" title=""Please enter your name"">
                </div>
                <div class=""form-group"">
                    <label for=""email"">Email Address:</label>
                    <input class=""form-control"" id=""email"" type=""text"" name=""email"" title=""Enter a valid email address"">
                </div>
                <div class=""form-group"">
                    <label for=""pwd"">Password:</label>
                    <input class=""form-control"" id=""pwd"" type=""password"" name=""pwd"" title=""Be at least 8 characters length"">
                </div>
                <div class=""form-group"">
                    <label for=""Cpwd"">Confirm Password:</label>
                    <input class=""form-control"" type=""password"" id=""Cpwd"" name=""Cpwd"" title=""Re-enter your password"">
                </div>
     ");
                    WriteLiteral("          \r\n                ");
                    EndContext();
                    BeginContext(1235, 122, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ca798f2bb4a64d5c96bd8792d749570d", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "typeof", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    AddHtmlAttributeValue("", 1280, ButtonType.Submit, 1280, 18, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Medium;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, 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(1357, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(1375, 117, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "08d9843aa4cf44878b7469fa6638dc1d", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "typeof", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    AddHtmlAttributeValue("", 1418, ButtonType.Reset, 1418, 17, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Medium;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, 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(1492, 53, true);
                    WriteLiteral("\r\n                \r\n            </fieldset>\r\n        ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1552, 18, true);
                WriteLiteral("\r\n    </div>\r\n\r\n\r\n");
                EndContext();
                BeginContext(1570, 298, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3ff99a95736a41f1bac34c0f4013c4f9", async() => {
                    BeginContext(1685, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1691, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "38501650325a413e8f6e05dd30a5d1df", async() => {
                        BeginContext(1711, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1721, 47, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a77d94d7a2f24381ab50e03d72f01541", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_6.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1768, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1778, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f43a9ceb11104a5d8b6c57580a4980a9", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1826, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1853, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Target = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_TooltipProperties.BeforeOpen = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1868, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(1873, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(1902, 241, true);
                WriteLiteral("\r\n    <div id=\"sampleProperties\">\r\n    <div class=\"prop-grid\">\r\n        <div class=\"row\">\r\n            <div class=\"col-md-6\">\r\n                Trigger\r\n            </div>\r\n            <div class=\"col-md-6\">\r\n               \r\n                ");
                EndContext();
                BeginContext(2143, 124, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6230b4e95e744318bd674df759c00f56", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 50 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2267, 356, true);
                WriteLiteral(@"
                <div id=""list"">
                    <ul>
                        <li value=""focus"" selected=""selected""> Focus </li>
                        <li value=""click""> Click </li>
                        <li value=""hover""> Hover </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
");
                EndContext();
            }
                          );
            BeginContext(2626, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(2651, 763, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
    var target;
    function onCreate() {
        target = $(""#details"").data(""ejTooltip"");
    }
    $(""#sampleProperties"").ejPropertiesPanel();
    function selectChange(args) {

        target.option(""trigger"", args.value)
    }
    function onOpen(args) {
        var currentElement = args.event.currentTarget, content = $(currentElement).attr(""data-content"");
        if (content == ""Enter a valid email address"")
            target.setModel({ cssClass: ""info"" });
            //$(target.tooltip).removeClass(""warning"").addClass(""info"");

        else
            target.setModel({ cssClass: ""warning"" });
        //$(target.tooltip).removeClass(""info"").addClass(""warning"");

    }

    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3439, 855, true);
                WriteLiteral(@"
    <style>
        .info {
            background-color: #f9ce9b;
            color: #b29b7f;
        }

        .warning {
            background-color: #e56161;
            color: #ffffff;
        }

        .cols-sample-area {
            height: 500px;
        }

        .frame {
            width: 500px;
            box-sizing: border-box;
            border: none;
        }

        .form-control {
            box-sizing: border-box;
        }

        .form-group {
            margin-bottom: 10px;
        }

        fieldset {
            border: 1px solid #D9DEDD;
            padding: 15px;
            width: 100%;
            box-sizing: border-box;
        }

        #sample {
            margin-right: 50px;
        }

        .e-button {
            margin: 10px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 56, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Template</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(107, 850, true);
                WriteLiteral(@"

    <div class=""content-container-fluid"">
        <div class=""row"">

            <div class=""frame"">
                <div class=""ctrl col-md-4"" id=""leftImg"">
                    <img class=""ctrImg"" src=""../images/tooltip/template-05.png"" />
                    <div class=""new"">Delphi Succinctly</div>
                </div>
                <div class=""ctrl col-md-4"" id=""centerImg"">
                    <img class=""ctrImg"" src=""../images/tooltip/template-04.png"" />
                    <div class=""new"">Roslyn Succinctly</div>
                </div>
                <div class=""ctrl col-md-4"" id=""RightImg"">
                    <img class=""ctrImg"" src=""../images/tooltip/template-06.png"" />
                    <div class=""new"">Python Succinctly</div>
                </div>

            </div>
        </div>
    </div>


");
                EndContext();
                BeginContext(957, 917, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0088237498ad41d59fd7f695f6373aa2", async() => {
                    BeginContext(1688, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(1694, 165, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6da272fa3a5f476a8eb525b6d4226a04", async() => {
                        BeginContext(1714, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1724, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "38c431d3ccab4c159b7e0283c2ab47bb", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1772, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1782, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d206dce81dcf40bf8d852c7239b93d73", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(1832, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1859, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1874, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(1878, 904, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f5b2aa13df724fc685e6e0246c95d14f", async() => {
                    BeginContext(2596, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(2602, 165, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "20d4d585b32a4c90b99d5885212620c4", async() => {
                        BeginContext(2622, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(2632, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f17fe746d8ef447bb0c09ab44d75c897", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(2680, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(2690, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9519b9d1956249ceb23129e1fd90305a", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(2740, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2767, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (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(2782, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
                BeginContext(2786, 915, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6cf17e288d3e42489efea0b0cd9145bf", async() => {
                    BeginContext(3515, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(3521, 165, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "84f02674edcf4f5389b3e41b97a1c09a", async() => {
                        BeginContext(3541, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(3551, 48, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9e1a566187af45fc8e0d3557278f8c9f", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(3599, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(3609, 50, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fd4cdec3af3f4756b5629d48c12ea5d5", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(3659, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3686, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(3701, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3730, 2017, true);
                WriteLiteral(@"
    <style>
        h4 {
            margin-top: 0px;
            margin-bottom: 2px;
        }

        #leftImg {
            margin: 30px;
        }

        #centerImg {
            margin: 30px;
        }

        #RightImg {
            margin: 30px;
        }

        .poster {
            float: left;
            box-sizing: border-box;
            padding: 4px 0px;
        }

        .new {
            text-align: center;
        }

        .frame {
            width: 100%;
            box-sizing: border-box;
            height: 430px;
        }

        .def {
            width: 280px;
            float: right;
            height: 230px;
        }

        .e-tooltip-wrap .e-tipContainer .e-tipcontent {
            padding: 4px 1px;
        }

        .e-tooltip-wrap {
            max-width: 485px;
        }

        .ctrl {
            border: 1px solid #ebebe0;
            width: 150px;
            padding: 5px;
            height: 225px;
    ");
                WriteLiteral(@"        margin-bottom: 50px;
            float: left;
        }

        .ctrImg {
            width: 150px;
        }

        .logo {
            float: left;
            height: 175px;
            padding-left: 10px;
        }

        .category {
            float: left;
            margin-left: 10px;
        }

        .link {
            padding: 2px;
        }



        .main {
            width: 430px;
            height: 190px;
            box-sizing: border-box;
        }

        .description {
            width: 285px;
            margin-top: 20px;
            height: 60px;
            background-color: inherit;
            line-height: 20px;
        }

        .author {
            float: left;
        }

        .rate {
            height: 50px;
            clear: both;
        }

        .e-button {
            margin-right: 10px;
        }

        img {
            padding-top: 8px;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(5773, 357, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
    function onCreate() {
        $("".rating"").ejRating({ height: ""30"", allowReset: false, value: 4 });
        $("".button1"").ejButton({ width: ""120px"", height: ""32px"", showRoundedCorner: true });
        $("".button2"").ejButton({ width: ""135px"", height: ""32px"", showRoundedCorner: true });
    }
    </script>

");
                EndContext();
            }
                          );
        }
コード例 #9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 57, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Tooltip / Animation</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(108, 439, true);
                WriteLiteral(@"

    <div class=""content-container-fluid"">
        <div class=""row"">
           
                <div class=""frame"" id=""custom"">

                    <div class=""image"">
                        <img src=""../images/tooltip/template-04.png"" alt=""Roslyn Succinctly"">
                    </div>
                    <div class=""desc"">Roslyn Succinctly</div>

                </div>
           

        </div>
    </div>
   
");
                EndContext();
                BeginContext(547, 508, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39b638dac71c4b8b99362755e772fde0", async() => {
                    BeginContext(815, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(821, 162, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1fd90fac32b44992bf69a7dbd3115556", async() => {
                        BeginContext(841, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(851, 46, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fd55ea0f83b44942a191475458a6603b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem);
                        __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_Stem.Vertical = (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(897, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(907, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9d6dc617b1a644dfa0d0187c3b15c47b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target);
                        __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_Target.Vertical = (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(956, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(983, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(989, 51, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-animation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "01ce5106a5804fd2baf607347ca24e83", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_TipAnimation = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipAnimation>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipAnimation);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Animation.cshtml"
                    __Syncfusion_JavaScript_Models_TipAnimation.Effect = global::Syncfusion.JavaScript.Effect.Slide;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("effect", __Syncfusion_JavaScript_Models_TipAnimation.Effect, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Animation.cshtml"
                    __Syncfusion_JavaScript_Models_TipAnimation.Speed = 4000;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("speed", __Syncfusion_JavaScript_Models_TipAnimation.Speed, 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(1040, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_TooltipProperties.BeforeOpen = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_TooltipProperties.BeforeClose = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_TooltipProperties.Content = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1055, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(1060, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(1089, 322, true);
                WriteLiteral(@"
    <div id=""sampleProperties"">
        <div class=""prop-grid"">
            <div class=""row"">
                <div class=""col-md-6""> Animation </div>
            </div>
            <div class=""row"">
                <div class=""col-md-6""> Effects </div>
                <div class=""col-md-6"">
                    ");
                EndContext();
                BeginContext(1411, 119, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "506056cb6d7d408cb819f2cb83468441", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
#line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Animation.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 1;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1530, 1242, true);
                WriteLiteral(@"
                    <div id=""list"">
                        <ul>
                            <li value=""none"">None</li>
                            <li value=""slide"">Slide</li>
                            <li value=""fade"">Fade</li>
                            <li value=""easeInOutQuad"">EaseInOutQuad</li>
                            <li value=""easeInOutCubic"">EaseInOutCubic</li>
                            <li value=""easeInOutQuart"">EaseInOutQuart</li>
                            <li value=""easeInOutQuint"">EaseInOutQuint</li>
                            <li value=""easeInOutExpo"">EaseInOutExpo</li>
                            <li value=""easeInOutSine"">EaseInOutSine</li>
                            <li value=""easeInOutCirc"">EaseInOutCirc</li>
                            <li value=""easeInOutElastic"">EaseInOutElastic</li>
                            <li value=""easeInOutBack"">EaseInOutBack</li>
                            <li value=""easeInOutBounce"">EaseInOutBounce</li>
                        </ul>");
                WriteLiteral("\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class=\"row\">\r\n                <div class=\"col-md-6\"> Speed </div>\r\n                <div class=\"col-md-6\">\r\n                    ");
                EndContext();
                BeginContext(2772, 97, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7bf2e6693bd146d485da10ca96fffe3e", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
#line 62 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Animation.cshtml"
                __Syncfusion_JavaScript_Models_EditorProperties.DecimalPlaces = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("decimal-places", __Syncfusion_JavaScript_Models_EditorProperties.DecimalPlaces, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 62 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Animation.cshtml"
                __Syncfusion_JavaScript_Models_EditorProperties.Value = 1000;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_EditorProperties.Change = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2869, 74, true);
                WriteLiteral("\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2968, 532, true);
                WriteLiteral(@"
    <style>
        .frame {
            box-sizing: border-box;
            border: 1px solid #ccc !important;
            border-radius: 0px;
            padding: 0px;
            text-align: center;
            width: 160px;
        }

            .frame img {
                width: 100%;
            }

        .frame {
            width: 160px !important;
        }

        .image {
            background-color: #ccc;
        }

        img {
            padding-top: 8px;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(3526, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 3539, "\"", 3631, 1);
#line 97 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Animation.cshtml"
                WriteAttributeValue("", 3545, Url.Content("https://cdn.syncfusion.com/js/assets/external/jquery.easing.1.3.min.js"), 3545, 86, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(3632, 2046, true);
                WriteLiteral(@" type=""text/javascript""></script>
    <script type=""text/javascript"">
        var target;
        $(function () {

            $(""#sampleProperties"").ejPropertiesPanel();
        });
        function onCreate() { target = $(""#custom"").data(""ejTooltip""); }
        function onChange() {
            var numObj = $(""#speed"").data(""ejNumericTextbox"");
            var DropDownListObj = $(""#effect"").data(""ejDropDownList"");
            var value = DropDownListObj.getSelectedValue();
            var speed = $(""#speed"").ejNumericTextbox(""getValue"");
            if (value != ""none"") {
                if (speed == 0)
                    numObj.setModel({ value: 1000 });
                numObj.enable();
            }
            if (value == ""none"") {
                numObj.setModel({ value: 0 });
                numObj.disable();
            }
            speed = numObj.getValue();
            if (value == ""slide"" || value == ""fade"" || value == ""none"")
                target.setModel({ animation: ");
                WriteLiteral(@"{ effect: value, speed: speed } });
        }
        function onOpen(args) {

            var DropDownListObj = $(""#effect"").data(""ejDropDownList"");
            var value = DropDownListObj.getSelectedValue();
            var speed = $(""#speed"").ejNumericTextbox(""getValue"");
            if (value != ""slide"" && value != ""fade"" && value != ""none"") {
                $(target.tooltip).animate({ height: ""show"" }, speed, value);
                args.cancel = true;
				this._isHidden= false;
            }

        }
        function onHide(args) {
            var DropDownListObj = $(""#effect"").data(""ejDropDownList"");
            var value = DropDownListObj.getSelectedValue();
            var speed = $(""#speed"").ejNumericTextbox(""getValue"");
            if (value != ""slide"" && value != ""fade"" && value != ""none"") {
                $(target.tooltip).animate({ height: ""hide"" }, speed, value);
                args.cancel = true;
				this._isHidden= true;
            }
        }

    </script>
");
                EndContext();
            }
                          );
        }