Hi Frédéric, I prototyped a version of the WmsLayer class implementing ILegendSupport. It also implementing ISublayerVisibility supports, so the sublayer visibilities can be turned on/off from the legend(Live Sample). I attached the code to this thread, if you have any opportunity to test it, let me know the result .