The following table shows how entities are rendered in each display mode with default settings.
Wireframe
Shaded
Rendered
HiddenLines
Flat
Wires
Mesh
Surface
Solid
Solid3D
FemMesh
Table 1: Entity appereance in each display mode.
Edge color is determined by the active DisplayModeSettings.EdgeColorMethod and EdgeColor properties. In Shaded displayMode, for example, you need to change Viewport.Shaded.EdgeColorMethod and Viewport.Shaded.EdgeColor values.