You can get the current SurfaceFormat
from the GraphicsDevice
like this:
// XNA
game.GraphicsDevice.DisplayMode.Format;
// Silverlight
page.SharedGraphicsDeviceManager.Current.GraphicsDevice.DisplayMode.Format;
This returns SurfaceFormat.Bgr565
for 16-bit color depth and SurfaceFormat.Color
for 32-bit color depth.