I want to show items and labels in the legend only for those features shown on map. I hid some of them with a query definition in layer properties, but they're still visible in the legend. I know that converting the legend to graphic I can manage manually each item, thus delete those I don't want, but I would like to put only the correct items automatically in order to have them disposed in a specific number of columns without needing to move the items one by one. I didn't find any way in legend properties to exclude those items. Any idea?
There is an even simpler way to do this, especially if you have a lot of layers in your map, as your method would be a bit time consuming.
In the Layout View, right click on your Legend and select "Properties". Go to the "Items" tab and tick the box "Only show classes that are visible in the current map extent" found in the "Map Extent Options" section.
I'm going to answer my own post because I found a solution and realized it was a very easy one. I just needed to clear those items from the symbology properties of the layer and they also disappeared from the legend.