In This Article

Context Images

Each TabStripPage is capable of display a small image on its side (in addition to the normal optional image), which is used to indicate some sort of contextual status for the page's content.

Screenshot

Implementation Details

Commonly, the context images are used to flag read-only documents, but they can be used to show any other sort of context status as well. It is advisable to use small images for context images, such as 12x12 pixel images.

To set a context image, set the TabStripPage. ContextImage property.

Dock includes a "lock" context image that can be used for read-only documents. The Image may be accessed with this code:

tabStripPage.ContextImage = 
	ActiproSoftware.Products.Docking.AssemblyInfo.Instance.Resources.GetImage(
		ActiproSoftware.Products.Docking.ImageResource.ContextReadOnly);