Implemented interface member:
property
Layout
Microsoft.AspNetCore.Mvc.Razor.IRazorPage.Layout
81 writes to Layout
BasicWebSite (8)
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Areas_Area1_Views_RemoteAttribute_Home_Create_cshtml.g.cs (1)
59Layout = "_Layout.cshtml";
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Areas_Area1_Views_RemoteAttribute_Home_Details_cshtml.g.cs (1)
37Layout = "_Layout.cshtml";
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Antiforgery_FlushAsyncLogin_cshtml.g.cs (1)
38Layout = "_FlushAsyncLayout.cshtml";
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Antiforgery_Index_cshtml.g.cs (1)
29Layout = "_Layout.cshtml";
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Home_Index_cshtml.g.cs (1)
29Layout = "/Views/Shared/_Layout.cshtml";
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_RemoteAttribute_Home_Create_cshtml.g.cs (1)
59Layout = "_Layout.cshtml";
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Shared_Error_cshtml.g.cs (1)
29Layout = "/Views/Shared/_Layout.cshtml";
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_ViewDataProperty_ViewDataPropertyToView_cshtml.g.cs (1)
28Layout = "_Layout";
BlazorServerApp (1)
artifacts\obj\BlazorServerApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages__Host_cshtml.g.cs (1)
61Layout = "_Layout";
BrowserTelemetry.Web (1)
Pages__ViewStart_cshtml.g.cs (1)
35Layout = "_Layout";
ClaimsTransformation (1)
artifacts\obj\ClaimsTransformation\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
41Layout = "_Layout";
Cookies (1)
artifacts\obj\Cookies\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
41Layout = "_Layout";
DynamicSchemes (1)
artifacts\obj\DynamicSchemes\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages__ViewStart_cshtml.g.cs (1)
35Layout = "_Layout";
IdentitySample.Mvc (2)
artifacts\obj\IdentitySample.Mvc\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
59Layout = "_Layout";
artifacts\obj\IdentitySample.Mvc\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Home_Index_cshtml.g.cs (1)
59Layout = "/Views/Shared/_Layout.cshtml";
Microsoft.AspNetCore.Identity.UI (8)
Areas_Identity_Pages_V4__ViewStart_cshtml.g.cs (1)
29Layout = "_Layout";
Areas_Identity_Pages_V4_Account_Manage__Layout_cshtml.g.cs (2)
65Layout = (string)parentLayout!; 69Layout = "/Areas/Identity/Pages/_Layout.cshtml";
Areas_Identity_Pages_V4_Account_Manage__ViewStart_cshtml.g.cs (1)
44Layout = "./_Layout.cshtml";
Areas_Identity_Pages_V5__ViewStart_cshtml.g.cs (1)
29Layout = "_Layout";
Areas_Identity_Pages_V5_Account_Manage__Layout_cshtml.g.cs (2)
65Layout = (string)parentLayout!; 69Layout = "/Areas/Identity/Pages/_Layout.cshtml";
Areas_Identity_Pages_V5_Account_Manage__ViewStart_cshtml.g.cs (1)
44Layout = "./_Layout.cshtml";
Microsoft.AspNetCore.Mvc.Razor.Test (48)
RazorPageTest.cs (2)
891p.Layout = "foo"; 908p.Layout = "bar";
RazorViewTest.cs (46)
161v.Layout = LayoutPath; 242v.Layout = LayoutPath; 367v.Layout = "/fake-layout-path"; 371v.Layout = layoutPath; 378v.Layout = null; 425Layout = layoutPath, 475Layout = layoutPath, 526v.Layout = layoutPath; 569v.Layout = layoutPath; 614v.Layout = layoutPath; 662v.Layout = LayoutPath; 721v.Layout = LayoutPath; 765v.Layout = "~/Shared/Layout1.cshtml"; 774v.Layout = "~/Shared/Layout2.cshtml"; 832v.Layout = "NestedLayout"; 842v.Layout = "Layout"; 896v.Layout = "~/Shared/Layout1.cshtml"; 906v.Layout = "~/Shared/Layout2.cshtml"; 959v.Layout = "~/Shared/Layout1.cshtml"; 973v.Layout = "~/Shared/Layout2.cshtml"; 1026v.Layout = LayoutPath; 1076v.Layout = "~/Shared/Layout1.cshtml"; 1086v.Layout = "~/Shared/Layout2.cshtml"; 1142v.Layout = "Layout1.cshtml"; 1156v.Layout = "Layout2.cshtml"; 1205v.Layout = "_Layout"; 1209v.Layout = "_Layout"; 1246v.Layout = "_Layout"; 1250v.Layout = "_Layout2"; 1257v.Layout = "_Layout"; 1309v.Layout = "~/Shared/Layout1.cshtml"; 1319v.Layout = "~/Shared/Layout2.cshtml"; 1378v.Layout = "layout-1"; 1434v.Layout = "layout-1"; 1486v.Layout = "test-layout"; 1519v.Layout = "~/Shared/Layout1.cshtml"; 1529v.Layout = "~/Shared/Layout2.cshtml"; 1563v.Layout = null; 1567v.Layout = expectedViewStart; 1572v.Layout = expectedPage; 1612v.Layout = null; 1617v.Layout = "_Layout.cshtml"; 1626v.Layout = "_Layout.cshtml"; 1670v.Layout = expected; 1675v.Layout = null; 1748var page = new TestableRazorPage(p => { p.Layout = LayoutPath; });
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\RazorPageAdapter.cs (1)
63set { _page.Layout = value; }
MvcFormSample (1)
artifacts\obj\MvcFormSample\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
41Layout = "_Layout";
MvcSandbox (2)
artifacts\obj\MvcSandbox\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages__ViewStart_cshtml.g.cs (1)
28Layout = "_Layout";
artifacts\obj\MvcSandbox\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
35Layout = "_Layout";
PathSchemeSelection (1)
artifacts\obj\PathSchemeSelection\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
41Layout = "_Layout";
SecurityWebSite (1)
artifacts\obj\SecurityWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
35Layout = "_Layout";
SignalRServerlessWeb (1)
Pages__ViewStart_cshtml.g.cs (1)
35Layout = "_Layout";
SignalRWeb (1)
Pages__ViewStart_cshtml.g.cs (1)
35Layout = "_Layout";
StaticFilesAuth (1)
artifacts\obj\StaticFilesAuth\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views__ViewStart_cshtml.g.cs (1)
47Layout = "_Layout";
WebPubSubWeb (1)
Pages__ViewStart_cshtml.g.cs (1)
35Layout = "_Layout";
13 references to Layout
Microsoft.AspNetCore.Identity.UI (4)
Areas_Identity_Pages_V4_Account_Manage__ViewStart_cshtml.g.cs (2)
41if (Layout != "_Layout") 43ViewData["ParentLayout"] = Layout;
Areas_Identity_Pages_V5_Account_Manage__ViewStart_cshtml.g.cs (2)
41if (Layout != "_Layout") 43ViewData["ParentLayout"] = Layout;
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPageBase.cs (1)
694if (!IsLayoutBeingRendered && !string.IsNullOrEmpty(Layout))
Microsoft.AspNetCore.Mvc.Razor.Test (7)
RazorViewTest.cs (7)
376actualLayoutPath = v.Layout; 1561actualPage = v.Layout; 1571actualViewStart = v.Layout; 1609actualPage = v.Layout; 1625actualViewStart = v.Layout; 1666Assert.Null(v.Layout); 1674actual = v.Layout;
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\RazorPageAdapter.cs (1)
62get { return _page.Layout; }