I want to change the Document Library's webpart property **'Toolbar Type**' from **'Full Toolbar' to 'Show Toolbar' programmatically**. ![enter image description here][1] I am working on `Office 365 sandbox solution`.I am creating document library & it's view programmatically. I have tried following: myView.Toolbar = @"<Toolbar Type='FreeForm'/>"; // I am not sure that it is 'FreeForm' or not for 'Show Toolbar' I want to achieve this type of view for my library. I want to **show toolbar on library programmatically.** ![enter image description here][2] If any other solution is possible to get toolbar on Document Library programmatically then provide here. [1]: https://i.sstatic.net/JC2dQ.jpg [2]: https://i.sstatic.net/VeeBL.jpg