Version

Customize the Tab Strip of WebHtmlEditor

WebHtmlEditor™ exposes properties enabling your application to customize the tab strip region, such as the text on its labels (and their icons). In the following procedure, you will set the label appearing on the HTML view tab to "Source" through the design-time environment.

  1. Select WebHtmlEditor on the design surface and search through the Properties Window for the TabStrip property. Expand the property to view the list of sub-properties, which allow you to customize the tab strip region.

WebHtmlEditor Customize the Tab Strip of WebHtmlEditor 01.png
  1. From the list of sub-properties, select the HtmlText property. Set this property’s value to "Source" to change the label on the HTML view tab. Your change immediately takes effect on Microsoft Visual Studio .NET’s design surface.