The out-of-the-box master pages included with SharePoint 2013 provide a delegate control to place branding text in the top-left corner of the page. For standard SharePoint instances, the text SharePoint is displayed. For SharePoint on Office 365, Office 365 is displayed instead.
In this recipe, we will simply replace the control with a custom control that displays our own text. The text could also be replaced by editing the master page or by modifying the SuiteBarBrandingElementHtml
property on the SharePoint web application. Using the custom control provides us the ability to add additional functionality if desired. For instance, the control could be used to add additional links, a menu, or other interactive content.
We should have already created our Visual Studio project in the Creating a Visual Studio solution for custom delegate controls recipe of this chapter before starting this recipe.