2 writes to _content
Microsoft.Maui.Controls (2)
Handlers\Shell\Windows\ShellFlyoutItemView.cs (2)
53 _content = null; 72 _content = (View)dataTemplate.CreateContent();
18 references to _content
Microsoft.Maui.Controls (18)
Handlers\Shell\Windows\ShellFlyoutItemView.cs (18)
40 if (_content != null) 42 if (_content.BindingContext is INotifyPropertyChanged inpc) 45 if (_content.Parent is BaseShellItem bsi) 46 bsi.RemoveLogicalChild(_content); 48 _shell?.RemoveLogicalChild(_content); 50 _content.Cleanup(); 51 _content.BindingContext = null; 52 _content.Parent = null; 75 _content.BindingContext = bo; 78 bsi.AddLogicalChild(_content); 80 _shell.AddLogicalChild(_content); 83 var platformView = _content.ToPlatform(_shell.Handler.MauiContext); 107 if (_content is IView view) 111 if (!_content.IsVisible) 131 if (this.ActualWidth > 0 && _content is IView view) 142 if (_content?.BindingContext is BaseShellItem baseShellItem && baseShellItem != null) 145 VisualStateManager.GoToState(_content, "Selected"); 147 VisualStateManager.GoToState(_content, "Normal");