32 interfaces inheriting from IViewHandler
Microsoft.Maui (31)
Handlers\ActivityIndicator\IActivityIndicatorHandler.cs (1)
15 public partial interface IActivityIndicatorHandler : IViewHandler
Handlers\Border\IBorderHandler.cs (1)
16 public partial interface IBorderHandler : IViewHandler
Handlers\Button\IButtonHandler.cs (1)
15 public partial interface IButtonHandler : IViewHandler
Handlers\CheckBox\ICheckboxHandler.cs (1)
16 public partial interface ICheckBoxHandler : IViewHandler
Handlers\ContentView\IContentViewHandler.cs (1)
15 public partial interface IContentViewHandler : IViewHandler
Handlers\DatePicker\IDatePickerHandler.cs (1)
17 public partial interface IDatePickerHandler : IViewHandler
Handlers\Editor\IEditorHandler.cs (1)
15 public partial interface IEditorHandler : IViewHandler
Handlers\Entry\IEntryHandler.cs (1)
15 public partial interface IEntryHandler : IViewHandler
Handlers\FlyoutView\IFlyoutViewHandler.cs (1)
15 public partial interface IFlyoutViewHandler : IViewHandler
Handlers\GraphicsView\IGraphicsViewHandler.cs (1)
9 public partial interface IGraphicsViewHandler : IViewHandler
Handlers\HybridWebView\IHybridWebViewHandler.cs (1)
15 public partial interface IHybridWebViewHandler : IViewHandler
Handlers\Image\IImageHandler.cs (1)
15 public partial interface IImageHandler : IViewHandler
Handlers\IndicatorView\IIndicatorViewHandler.cs (1)
15 public partial interface IIndicatorViewHandler : IViewHandler
Handlers\Label\ILabelHandler.cs (1)
15 public partial interface ILabelHandler : IViewHandler
Handlers\Layout\ILayoutHandler.cs (1)
15 public interface ILayoutHandler : IViewHandler
Handlers\NavigationPage\INavigationViewHandler.cs (1)
15 public partial interface INavigationViewHandler : IViewHandler
Handlers\Picker\IPickerHandler.cs (1)
15 public partial interface IPickerHandler : IViewHandler
Handlers\ProgressBar\IProgressBarHandler.cs (1)
15 public partial interface IProgressBarHandler : IViewHandler
Handlers\RadioButton\IRadioButtonHandler.cs (1)
15 public partial interface IRadioButtonHandler : IViewHandler
Handlers\RefreshView\IRefreshViewHandler.cs (1)
15 public partial interface IRefreshViewHandler : IViewHandler
Handlers\ScrollView\IScrollViewHandler.cs (1)
15 public partial interface IScrollViewHandler : IViewHandler
Handlers\SearchBar\ISearchBarHandler.cs (1)
21 public partial interface ISearchBarHandler : IViewHandler
Handlers\ShapeView\IShapeViewHandler.cs (1)
15 public partial interface IShapeViewHandler : IViewHandler
Handlers\Slider\ISliderHandler.cs (1)
15 public partial interface ISliderHandler : IViewHandler
Handlers\Stepper\IStepperHandler.cs (1)
15 public partial interface IStepperHandler : IViewHandler
Handlers\SwipeItemView\ISwipeItemViewHandler.cs (1)
15 public interface ISwipeItemViewHandler : IViewHandler
Handlers\SwipeView\ISwipeViewHandler.cs (1)
15 public partial interface ISwipeViewHandler : IViewHandler
Handlers\Switch\ISwitchHandler.cs (1)
15 public partial interface ISwitchHandler : IViewHandler
Handlers\TabbedView\ITabbedViewHandler.cs (1)
7 public partial interface ITabbedViewHandler : IViewHandler
Handlers\TimePicker\ITimePickerHandler.cs (1)
17 public partial interface ITimePickerHandler : IViewHandler
Handlers\WebView\IWebViewHandler.cs (1)
15 public partial interface IWebViewHandler : IViewHandler
Microsoft.Maui.Maps (1)
Handlers\Map\IMapHandler.cs (1)
16 public interface IMapHandler : IViewHandler
2 implementations of IViewHandler
Microsoft.Maui (2)
Handlers\View\ViewHandler.cs (1)
21 public abstract partial class ViewHandler : ElementHandler, IViewHandler
Handlers\View\ViewHandlerOfT.cs (1)
16 public abstract partial class ViewHandler<TVirtualView, TPlatformView> : ViewHandler, IViewHandler
132 references to IViewHandler
Microsoft.Maui (103)
Core\Extensions\VisualTreeElementExtensions.cs (2)
15using IPlatformViewHandler = Microsoft.Maui.IViewHandler; 278 element.Handler is IPlatformViewHandler pvh &&
Core\IView.cs (1)
125 new IViewHandler? Handler { get; set; }
Handlers\Editor\EditorHandler.Standard.cs (8)
9 public static void MapText(IViewHandler handler, IEditor editor) { } 10 public static void MapTextColor(IViewHandler handler, IEditor editor) { } 11 public static void MapPlaceholder(IViewHandler handler, IEditor editor) { } 12 public static void MapPlaceholderColor(IViewHandler handler, IEditor editor) { } 13 public static void MapCharacterSpacing(IViewHandler handler, IEditor editor) { } 14 public static void MapMaxLength(IViewHandler handler, IEditor editor) { } 29 public static void MapFont(IViewHandler handler, IEditor editor) { } 30 public static void MapIsReadOnly(IViewHandler handler, IEditor editor) { }
Handlers\ScrollView\ScrollViewHandler.Standard.cs (5)
11 public static void MapContent(IViewHandler handler, IScrollView scrollView) { } 12 public static void MapHorizontalScrollBarVisibility(IViewHandler handler, IScrollView scrollView) { } 13 public static void MapVerticalScrollBarVisibility(IViewHandler handler, IScrollView scrollView) { } 14 public static void MapOrientation(IViewHandler handler, IScrollView scrollView) { } 15 public static void MapContentSize(IViewHandler handler, IScrollView scrollView) { }
Handlers\SearchBar\SearchBarHandler.Standard.cs (14)
13 public static void MapText(IViewHandler handler, ISearchBar searchBar) { } 14 public static void MapPlaceholder(IViewHandler handler, ISearchBar searchBar) { } 15 public static void MapPlaceholderColor(IViewHandler handler, ISearchBar searchBar) { } 16 public static void MapFont(IViewHandler handler, ISearchBar searchBar) { } 17 public static void MapHorizontalTextAlignment(IViewHandler handler, ISearchBar searchBar) { } 18 public static void MapVerticalTextAlignment(IViewHandler handler, ISearchBar searchBar) { } 19 public static void MapCharacterSpacing(IViewHandler handler, ISearchBar searchBar) { } 20 public static void MapTextColor(IViewHandler handler, ISearchBar searchBar) { } 21 public static void MapCancelButtonColor(IViewHandler handler, ISearchBar searchBar) { } 28 public static void MapIsTextPredictionEnabled(IViewHandler handler, ISearchBar searchBar) { } 35 public static void MapIsSpellCheckEnabled(IViewHandler handler, ISearchBar searchBar) { } 36 public static void MapMaxLength(IViewHandler handler, ISearchBar searchBar) { } 37 public static void MapIsReadOnly(IViewHandler handler, ISearchBar searchBar) { } 38 public static void MapKeyboard(IViewHandler handler, ISearchBar searchBar) { }
Handlers\Slider\SliderHandler.Standard.cs (7)
9 public static void MapMinimum(IViewHandler handler, ISlider slider) { } 10 public static void MapMaximum(IViewHandler handler, ISlider slider) { } 11 public static void MapValue(IViewHandler handler, ISlider slider) { } 12 public static void MapMinimumTrackColor(IViewHandler handler, ISlider slider) { } 13 public static void MapMaximumTrackColor(IViewHandler handler, ISlider slider) { } 14 public static void MapThumbColor(IViewHandler handler, ISlider slider) { } 15 public static void MapThumbImageSource(IViewHandler handler, ISlider slider) { }
Handlers\Stepper\StepperHandler.Standard.cs (4)
9 public static void MapMinimum(IViewHandler handler, IStepper stepper) { } 10 public static void MapMaximum(IViewHandler handler, IStepper stepper) { } 11 public static void MapIncrement(IViewHandler handler, IStepper stepper) { } 12 public static void MapValue(IViewHandler handler, IStepper stepper) { }
Handlers\View\ViewHandler.cs (35)
26 public static IPropertyMapper<IView, IViewHandler> ViewMapper = 31 new PropertyMapper<IView, IViewHandler>(ElementHandler.ElementMapper) 59 [nameof(IViewHandler.ContainerView)] = MapContainerView, 82 public static CommandMapper<IView, IViewHandler> ViewCommandMapper = new() 153 object? IViewHandler.ContainerView => ContainerView; 225 public static void MapWidth(IViewHandler handler, IView view) 235 public static void MapHeight(IViewHandler handler, IView view) 245 public static void MapMinimumHeight(IViewHandler handler, IView view) 255 public static void MapMaximumHeight(IViewHandler handler, IView view) 265 public static void MapMinimumWidth(IViewHandler handler, IView view) 275 public static void MapMaximumWidth(IViewHandler handler, IView view) 285 public static void MapIsEnabled(IViewHandler handler, IView view) 295 public static void MapVisibility(IViewHandler handler, IView view) 308 public static void MapBackground(IViewHandler handler, IView view) 331 public static void MapFlowDirection(IViewHandler handler, IView view) 341 public static void MapOpacity(IViewHandler handler, IView view) 358 public static void MapAutomationId(IViewHandler handler, IView view) 368 public static void MapClip(IViewHandler handler, IView view) 370 handler.UpdateValue(nameof(IViewHandler.ContainerView)); 380 public static void MapShadow(IViewHandler handler, IView view) 382 handler.UpdateValue(nameof(IViewHandler.ContainerView)); 387 static partial void MappingSemantics(IViewHandler handler, IView view); 394 public static void MapSemantics(IViewHandler handler, IView view) 406 public static void MapInvalidateMeasure(IViewHandler handler, IView view, object? args) 412 /// Maps the abstract <see cref="IViewHandler.ContainerView"/> property to the platform-specific implementations. 416 public static void MapContainerView(IViewHandler handler, IView view) 441 public static void MapBorderView(IViewHandler handler, IView view) 443 handler.UpdateValue(nameof(IViewHandler.ContainerView)); 449 static partial void MappingFrame(IViewHandler handler, IView view); 457 public static void MapFrame(IViewHandler handler, IView view, object? args) 468 public static void MapZIndex(IViewHandler handler, IView view, object? args) 482 public static void MapFocus(IViewHandler handler, IView view, object? args) 495 public static void MapInputTransparent(IViewHandler handler, IView view) 521 public static void MapUnfocus(IViewHandler handler, IView view, object? args) 531 public static void MapToolTip(IViewHandler handler, IView view)
Handlers\View\ViewHandler.Standard.cs (11)
10 public static void MapTranslationX(IViewHandler handler, IView view) { } 17 public static void MapTranslationY(IViewHandler handler, IView view) { } 24 public static void MapScale(IViewHandler handler, IView view) { } 31 public static void MapScaleX(IViewHandler handler, IView view) { } 38 public static void MapScaleY(IViewHandler handler, IView view) { } 45 public static void MapRotation(IViewHandler handler, IView view) { } 52 public static void MapRotationX(IViewHandler handler, IView view) { } 59 public static void MapRotationY(IViewHandler handler, IView view) { } 66 public static void MapAnchorX(IViewHandler handler, IView view) { } 73 public static void MapAnchorY(IViewHandler handler, IView view) { } 81 public static void MapContextFlyout(IViewHandler handler, IView view) { }
Handlers\View\ViewHandlerOfT.cs (1)
46 IView? IViewHandler.VirtualView => base.VirtualView;
Hosting\MauiHandlersCollectionExtensions.cs (1)
101 where TTypeRender : IViewHandler
HotReload\HotReloadHelper.cs (1)
154 if (typeof(IViewHandler).IsAssignableFrom(newViewType))
Platform\ElementExtensions.cs (2)
26using IPlatformViewHandler = Microsoft.Maui.IViewHandler; 112 if (view.Handler is IViewHandler viewHandler)
Platform\Standard\ViewExtensions.cs (1)
84 public static void UpdateInputTransparent(this object nativeView, IViewHandler handler, IView view) { }
Platform\ViewExtensions.cs (5)
10using IPlatformViewHandler = Microsoft.Maui.IViewHandler; 43 public static IPlatformViewHandler ToHandler(this IView view, IMauiContext context) => 44 (IPlatformViewHandler)ElementExtensions.ToHandler(view, context); 121 element.Handler is IPlatformViewHandler pvh) 199 if (element.Handler is not IPlatformViewHandler pvh)
SoftInputExtensions.cs (4)
18using IPlatformViewHandler = Microsoft.Maui.IViewHandler; 64 if (!targetView.TryGetPlatformView(out var platformView, out var handler, out var view)) 118 [NotNullWhen(true)] out IPlatformViewHandler? handler, 122 iView.Handler is not IPlatformViewHandler platformViewHandler)
ViewExtensions.cs (1)
7using IPlatformViewHandler = Microsoft.Maui.IViewHandler;
Microsoft.Maui.Controls (29)
Layout\Layout.Standard.cs (1)
30 static void MapInputTransparent(IViewHandler handler, IView layout) { }
Platform\GestureManager\GestureManager.cs (1)
59 var handler = _view.Handler;
Platform\GestureManager\GesturePlatformManager.Standard.cs (1)
7 public GesturePlatformManager(IViewHandler handler)
Platform\PlatformEffect.cs (1)
24 if (Element.Handler is IViewHandler vh)
Registrar.cs (2)
344 internal static Func<object, IViewHandler> RendererToHandlerShim { get; private set; } 345 public static void RegisterRendererToHandlerShim(Func<object, IViewHandler> handlerShim)
ViewExtensions.cs (1)
465 if (view.Handler is IViewHandler handler)
VisualElement\VisualElement.cs (5)
1797 /// Gets or sets the <see cref="IViewHandler"/> associated to this element. 1799 new public IViewHandler? Handler 1801 get => (IViewHandler?)base.Handler; 1908 /// <remarks>Subclasses will stil want to call <see cref="ArrangeOverride"/> on the base class or call <see cref="IViewHandler.PlatformArrange"/> on the <see cref="Handler"/> .</remarks> 2135 if (value != null && value is not IViewHandler)
VisualElement\VisualElement.Mapper.cs (17)
17 IPropertyMapper<IView, IViewHandler> viewMapper, 18 CommandMapper<IView, IViewHandler> commandMapper) 26 viewMapper.ReplaceMapping<IView, IViewHandler>(nameof(BackgroundColor), MapBackgroundColor); 27 viewMapper.ReplaceMapping<IView, IViewHandler>(nameof(Page.BackgroundImageSource), MapBackgroundImageSource); 28 viewMapper.ReplaceMapping<IView, IViewHandler>(SemanticProperties.DescriptionProperty.PropertyName, MapSemanticPropertiesDescriptionProperty); 29 viewMapper.ReplaceMapping<IView, IViewHandler>(SemanticProperties.HintProperty.PropertyName, MapSemanticPropertiesHintProperty); 30 viewMapper.ReplaceMapping<IView, IViewHandler>(SemanticProperties.HeadingLevelProperty.PropertyName, MapSemanticPropertiesHeadingLevelProperty); 32 viewMapper.AppendToMapping<VisualElement, IViewHandler>(nameof(IViewHandler.ContainerView), MapContainerView); 34 commandMapper.ModifyMapping<VisualElement, IViewHandler>(nameof(IView.Focus), MapFocus); 37 public static void MapBackgroundColor(IViewHandler handler, IView view) => 40 public static void MapBackgroundImageSource(IViewHandler handler, IView view) => 43 static void MapSemanticPropertiesHeadingLevelProperty(IViewHandler handler, IView element) => 46 static void MapSemanticPropertiesHintProperty(IViewHandler handler, IView element) => 49 static void MapSemanticPropertiesDescriptionProperty(IViewHandler handler, IView element) => 58 static void MapContainerView(IViewHandler handler, VisualElement element) => 61 static void MapFocus(IViewHandler handler, VisualElement view, object args, Action<IElementHandler, IElement, object> baseMethod)