I have a map with many feature classes on it. I want to use arcobjects to get to a selected layer (aka one of the feature classes) on the map, and change the fill color of all the polygons within that feature class. I don't want to add anymore features or make a new feature class, just change the colors of existing ones. I want to make this a user inputted color, so I want to use the color dialog in VS2013.
I've read that IGraphicsContainer is a useful interface to implement, but I don't know how to do that.
ILayerDescription layerdes = (ILayerDescription)featlayer;
layerdes.SelectionColor = colorDialog1.Color;
Implementing code with these lines gave me the error: Cannot implicitly convert type 'System.Drawing.Color' to 'ESRI.ArcGIS.Display.IColor'