public static void UpdateStrokeShape(this ContentPanel platformView, IBorderStroke border) { var shape = border.Shape; if (shape == null) { return; } platformView.UpdateBorderShape(shape); }