Gets or sets the caption of the painted element.
A string value specifying the painted element's caption.
Read the Caption property to obtain the painted element's caption. Use the obtained string to draw an element caption in a desired manner. Note that you can also assign a value to this property. The assigned value will be displayed as an element caption only if the CustomDrawObjectEventArgs.Handled property is not set to true within an event handler. Assigning a value to the Caption property doesn't affect the NavElement.Caption property of the painted element.