How to specify border for a triangle?

I’m a newbie using MonoGame/XNA and wondering how I should specify border for a triangle in 3D?

The default MonoGame Windows Phone 8.1 Projects renders a colored cube (consisting of triangles) in 3D. I’ve managed to change the cube so it’s all red, but now I’d like to draw the edges / wires / lines between the vertices using a black color. Similar to the cube on the left in this image: http://tavmjong.free.fr/INKSCAPE/MANUAL/images/EFFECTS/Effects_3DPolyhedron4.png

I’ve done an exhaustive search without finding anything useful. I could off course create a model, but I’d really like to accomplish this using primitives. What the right way to do this?

You can do this in two ways.

  1. Draw LineLists. http://msdn.microsoft.com/en-us/library/bb196414.aspx#ID4EBE
  2. Draw the same mesh as a wireframe. http://rbwhitaker.wikidot.com/drawing-in-wireframe-mode