11 references to Title
Microsoft.Maui.Controls (11)
Shell\BaseShellItem.cs (4)
51 /// <summary>Bindable property for <see cref="Title"/>.</summary> 53 BindableProperty.Create(nameof(Title), typeof(string), typeof(BaseShellItem), null, BindingMode.TwoWay, propertyChanged: OnTitlePropertyChanged); 451 labelBinding = Binding.Create(static (BaseShellItem item) => item.Title); 550 g.SetBinding(SemanticProperties.DescriptionProperty, static (BaseShellItem item) => item.Title);
Shell\MenuShellItem.cs (2)
28 public string Text => Title; 43 if (propertyName == nameof(Title))
Shell\ShellContent.cs (2)
96 throw new InvalidOperationException($"No Content found for {nameof(ShellContent)}, Title:{Title}, Route {Route}"); 317 throw new InvalidOperationException($"{nameof(ShellContent)} {nameof(Content)} should be of type {nameof(Page)}. Title {shellContent?.Title}, Route {shellContent?.Route} ");
Shell\ShellItem.cs (1)
226 result.SetBinding(TitleProperty, static (ShellSection section) => section.Title, BindingMode.OneWay, source: shellSection);
Shell\ShellSection.cs (1)
296 shellSection.SetBinding(TitleProperty, static (BaseShellItem item) => item.Title, BindingMode.OneWay, source: shellContent);
ShellToolbar.cs (1)
183 Title = _shell.CurrentContent?.Title ?? String.Empty;