2 interfaces inheriting from IVisualElementController
Microsoft.Maui.Controls (2)
IPageController.cs (1)
7 public interface IPageController : IVisualElementController
IViewController.cs (1)
3 public interface IViewController : IVisualElementController
1 implementation of IVisualElementController
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
21 public partial class VisualElement : NavigableElement, IAnimatable, IVisualElementController, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, IWindowController, IView, IControlsVisualElement
17 references to IVisualElementController
Microsoft.Maui.Controls (4)
CompressedLayout.cs (2)
26 var ve = bindable as IVisualElementController;
VisualElement\VisualElement.cs (2)
475 EffectiveFlowDirection IVisualElementController.EffectiveFlowDirection => FlowController.EffectiveFlowDirection; 1445 void IVisualElementController.InvalidateMeasure(InvalidationTrigger trigger) => InvalidateMeasureInternal(trigger);
Microsoft.Maui.Controls.Compatibility (13)
Android\Extensions\FlowDirectionExtensions.cs (1)
10 internal static void UpdateFlowDirection(this AView view, IVisualElementController controller)
Android\NativeViewWrapperRenderer.cs (1)
42 Control.LayoutChange += (sender, args) => ((IVisualElementController)Element)?.InvalidateMeasure(InvalidationTrigger.MeasureChanged);
Android\PopupManager.cs (6)
112 if (arguments.FlowDirection == FlowDirection.MatchParent && sender is IVisualElementController ve) 141 if (arguments.FlowDirection == FlowDirection.MatchParent && sender is IVisualElementController ve) 169 if ((sender as IVisualElementController).EffectiveFlowDirection.IsRightToLeft()) 171 else if ((sender as IVisualElementController).EffectiveFlowDirection.IsLeftToRight()) 185 if ((sender as IVisualElementController).EffectiveFlowDirection.IsRightToLeft()) 187 else if ((sender as IVisualElementController).EffectiveFlowDirection.IsLeftToRight())
Android\Renderers\EntryRenderer.cs (3)
591 && (Element as IVisualElementController).EffectiveFlowDirection.IsLeftToRight()) 596 && (Element as IVisualElementController).EffectiveFlowDirection.IsRightToLeft()))) 645 if ((Element as IVisualElementController).EffectiveFlowDirection.IsRightToLeft())
Android\Renderers\ScrollViewRenderer.cs (2)
122 if (Element is IVisualElementController controller) 276 if (!_checkedForRtlScroll && _hScrollView != null && Element is IVisualElementController controller && controller.EffectiveFlowDirection.IsRightToLeft())