Alan2
Alan2

Reputation: 24592

How can I find out what the default (and only available) border width is on Xamarin Forms Frame?

I would like to know what the value of the border width is and where it's set in the code.

Can anyone point me to this value / area?

Upvotes: 0

Views: 73

Answers (1)

Jason
Jason

Reputation: 89169

Apparently it's not being used by Frame

// not currently used by frame
double IBorderElement.BorderWidth => -1d;

the Android renderer uses a StrokeWidth of 1

paint.StrokeWidth = 1;

so does iOS

Layer.BorderWidth = 1;

Upvotes: 1

Related Questions