3 instantiations of Rectangle
Microsoft.Maui.Controls (3)
Border\Border.cs (1)
49 BindableProperty.Create(nameof(StrokeShape), typeof(IShape), typeof(Border), new Rectangle(),
IndicatorView\IndicatorView.cs (1)
188 IShape IIndicatorView.IndicatorsShape => IndicatorsShape == IndicatorShape.Square ? new Shapes.Rectangle() : new Shapes.Ellipse();
Shapes\StrokeShapeTypeConverter.cs (1)
109 return new Rectangle();
14 references to Rectangle
Microsoft.Maui.Controls (9)
Handlers\Shapes\Rectangle\RectangleHandler.cs (4)
8 public static new IPropertyMapper<Rectangle, IShapeViewHandler> Mapper = new PropertyMapper<Rectangle, IShapeViewHandler>(ShapeViewHandler.Mapper) 10 [nameof(Rectangle.RadiusX)] = MapRadiusX, 11 [nameof(Rectangle.RadiusY)] = MapRadiusY,
Handlers\Shapes\Rectangle\RectangleHandler.Standard.cs (2)
8 public static void MapRadiusX(IShapeViewHandler handler, Rectangle rectangle) { } 9 public static void MapRadiusY(IShapeViewHandler handler, Rectangle rectangle) { }
Hosting\AppHostBuilderExtensions.cs (1)
101 handlersCollection.AddHandler<Shapes.Rectangle, RectangleHandler>();
Shapes\Rectangle.cs (2)
19 BindableProperty.Create(nameof(RadiusX), typeof(double), typeof(Rectangle), 0.0d); 23 BindableProperty.Create(nameof(RadiusY), typeof(double), typeof(Rectangle), 0.0d);
Microsoft.Maui.Controls.Compatibility (5)
iOS\Shapes\RectangleRenderer.cs (5)
6using FormsRectangle = Microsoft.Maui.Controls.Shapes.Rectangle; 15 public class RectangleRenderer : ShapeRenderer<FormsRectangle, RectangleView> 26 protected override void OnElementChanged(ElementChangedEventArgs<FormsRectangle> args) 42 if (args.PropertyName == FormsRectangle.RadiusXProperty.PropertyName) 44 else if (args.PropertyName == FormsRectangle.RadiusYProperty.PropertyName)