2 instantiations of Border
Microsoft.Maui.Controls (2)
IndicatorView\IndicatorStackLayout.cs (1)
137 var indicatorTemplate = _indicatorView.IndicatorTemplate ??= new DataTemplate(() => new Border
RadioButton\RadioButton.cs (1)
443 Border border = new Border()
19 references to Border
Microsoft.Maui.Controls (19)
Border\Border.cs (14)
30 typeof(Border), null, propertyChanged: ContentChanged); 49 BindableProperty.Create(nameof(StrokeShape), typeof(IShape), typeof(Border), new Rectangle(), 53 (bindable as Border)?.StopNotifyingStrokeShapeChanges(); 58 (bindable as Border)?.NotifyStrokeShapeChanges(); 94 BindableProperty.Create(nameof(Stroke), typeof(Brush), typeof(Border), null, 98 (bindable as Border)?.StopNotifyingStrokeChanges(); 103 (bindable as Border)?.NotifyStrokeChanges(); 143 BindableProperty.Create(nameof(StrokeThickness), typeof(double), typeof(Border), 1.0, propertyChanged: StrokeThicknessChanged); 147 BindableProperty.Create(nameof(StrokeDashArray), typeof(DoubleCollection), typeof(Border), null, 152 BindableProperty.Create(nameof(StrokeDashOffset), typeof(double), typeof(Border), 0.0); 156 BindableProperty.Create(nameof(StrokeLineCap), typeof(PenLineCap), typeof(Border), PenLineCap.Flat); 160 BindableProperty.Create(nameof(StrokeLineJoin), typeof(PenLineJoin), typeof(Border), PenLineJoin.Miter); 164 BindableProperty.Create(nameof(StrokeMiterLimit), typeof(double), typeof(Border), 10.0); 277 if (bindable is Border border)
Hosting\AppHostBuilderExtensions.cs (1)
93 handlersCollection.AddHandler<Border, BorderHandler>();
RadioButton\RadioButton.cs (4)
443 Border border = new Border() 460 border.SetBinding(Border.StrokeProperty, static (RadioButton rb) => rb.BorderColor, source: RelativeBindingSource.TemplatedParent); 461 border.SetBinding(Border.StrokeShapeProperty, static (RadioButton rb) => rb.CornerRadius, source: RelativeBindingSource.TemplatedParent, converter: new CornerRadiusToShape()); 462 border.SetBinding(Border.StrokeThicknessProperty, static (RadioButton rb) => rb.BorderWidth, source: RelativeBindingSource.TemplatedParent);