Implemented interface member:
property
IsPlatformEnabled
Microsoft.Maui.Controls.IVisualElementController.IsPlatformEnabled
1 write to IsPlatformEnabled
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
1874 IsPlatformEnabled = Handler != null;
19 references to IsPlatformEnabled
Microsoft.Maui.Controls (18)
LegacyLayouts\FlexLayout.cs (2)
249 if (IsPlatformEnabled && _root == null) 251 else if (!IsPlatformEnabled && _root != null)
LegacyLayouts\Layout.cs (2)
551 if (LogicalChildrenInternal[index] is VisualElement v && v.IsVisible && (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent)) 696 if (!visual.IsPlatformEnabled || !visual.IsPlatformStateConsistent)
ListView\ListView.cs (3)
393 if (IsPlatformEnabled) 408 if (IsPlatformEnabled) 605 if (IsPlatformEnabled && _pendingScroll != null)
Page\Page.cs (8)
299 if (IsPlatformEnabled) 347 if (IsPlatformEnabled) 373 if (IsPlatformEnabled) 619 if (page != null && page.IsVisible && (!page.IsPlatformEnabled || !page.IsPlatformStateConsistent)) 628 if (v != null && v.IsVisible && (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent)) 685 if (IsPlatformEnabled) 807 return container.CurrentPage.IsPlatformEnabled && container.CurrentPage.IsPlatformStateConsistent; 815 if (v != null && (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent))
Shell\ShellSection.cs (1)
690 if (child is IShellContentController sc && (sc.Page?.IsPlatformEnabled == true))
VisualElement\VisualElement.cs (2)
1026 if (value && IsPlatformEnabled) 1348 if (!IsPlatformEnabled)
Microsoft.Maui.Controls.Foldable (1)
TwoPaneView.cs (1)
272 if (IsPlatformEnabled)