1 write to Content
Microsoft.Maui.Controls (1)
Shell\ShellContent.cs (1)
290 shellContent.Content = page;
10 references to Content
Microsoft.Maui.Controls (10)
Shell\ShellContent.cs (8)
13 [ContentProperty(nameof(Content))] 24 /// <summary>Bindable property for <see cref="Content"/>.</summary> 26 BindableProperty.Create(nameof(Content), typeof(object), typeof(ShellContent), null, BindingMode.OneTime, propertyChanged: OnContentChanged); 61 var content = Content; 130 ((ContentCache ?? Content) as Page)?.SendDisappearing(); 136 var content = ContentCache ?? Content; 142 SendPageAppearing((ContentCache ?? Content) as Page); 317 throw new InvalidOperationException($"{nameof(ShellContent)} {nameof(Content)} should be of type {nameof(Page)}. Title {shellContent?.Title}, Route {shellContent?.Route} ");
Shell\ShellNavigationManager.cs (2)
300 if (element is ShellContent shellcontent && shellcontent.Content is Element e) 496 (shellContent?.Content as BindableObject) ??