I am using sp2010. I have a library with 10 content types. These 10 content types are needed. In the ribbon there is a button "New Document". When you click on the arrow you see a dropdown menu with all the contenttypes. Is it possible to see only 3? For example the first 3? Maybe some css hacking to set the height and remove scrollbar?
Go to Library settings -> then click "Change new button order and default content type". From there you can select which content type to be shown on new button.
And programmatically you can do this by:
SPContentType oCT = spList.ContentTypes[ctName]; oCT.Hidden = true; oCT.Update();