6 references to OnThisPlatform
Microsoft.Maui.Controls.Compatibility (6)
Android\AppCompat\ImageButtonRenderer.cs (6)
224 if (Element.Aspect == Aspect.AspectFill && OnThisPlatform().GetIsShadowEnabled()) 325 float IBorderVisualElementRenderer.ShadowRadius => Context.ToPixels(OnThisPlatform().GetShadowRadius()); 326 float IBorderVisualElementRenderer.ShadowDx => Context.ToPixels(OnThisPlatform().GetShadowOffset().Width); 327 float IBorderVisualElementRenderer.ShadowDy => Context.ToPixels(OnThisPlatform().GetShadowOffset().Height); 328 AColor IBorderVisualElementRenderer.ShadowColor => OnThisPlatform().GetShadowColor().ToAndroid(Colors.Black); 329 bool IBorderVisualElementRenderer.IsShadowEnabled() => OnThisPlatform().GetIsShadowEnabled();