A newer version of this page is available. Switch to the current version.

ShapeTitleOptions Class

Contains options that define the visibility, text and appearance of shape titles.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.2.dll


public class ShapeTitleOptions :
Public Class ShapeTitleOptions
    Inherits MapNotificationOptions

Related API Members

The following members accept/return ShapeTitleOptions objects:


An instance of the ShapeTitleOptions class can be accessed via the MapShape.TitleOptions property.


This example demonstrates how to customize shape title options. To do this, customize the required properties from the following list.

private void Form1_Load(object sender, System.EventArgs e) {
    MapItemStorage storage = new MapItemStorage();
    VectorItemsLayer layer = new VectorItemsLayer() {
        Data = storage

    dot = new MapDot() { Size = 100 };
    dot.TitleOptions.TextColor = Color.Orange;
    dot.TitleOptions.TextGlowColor = Color.Black;
    dot.TitleOptions.Pattern = "{Title}";

    dot.Attributes.Add(new MapItemAttribute() { Name = "Title", Value = "Hello,\nI am Dot." });

See Also