Implemented interface member:
property
IsPlatformEnabled
Microsoft.Maui.Controls.IVisualElementController.IsPlatformEnabled
1 write to IsPlatformEnabled
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
1813 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) 345 if (IsPlatformEnabled) 371 if (IsPlatformEnabled) 617 if (page != null && page.IsVisible && (!page.IsPlatformEnabled || !page.IsPlatformStateConsistent)) 626 if (v != null && v.IsVisible && (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent)) 683 if (IsPlatformEnabled) 805 return container.CurrentPage.IsPlatformEnabled && container.CurrentPage.IsPlatformStateConsistent; 813 if (v != null && (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent))
Shell\ShellSection.cs (1)
677 if (child is IShellContentController sc && (sc.Page?.IsPlatformEnabled == true))
VisualElement\VisualElement.cs (2)
993 if (value && IsPlatformEnabled) 1315 if (!IsPlatformEnabled)
Microsoft.Maui.Controls.Foldable (1)
TwoPaneView.cs (1)
272 if (IsPlatformEnabled)