Skip to main content
A newer version of this page is available. .

ShapeTitleOptions.TextGlowColor Property

Gets or sets the text glowing color of shape titles.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v19.2.dll

Declaration

public Color TextGlowColor { get; set; }

Property Value

Type Description
Color

A Color value.

Property Paths

You can access this nested property as listed below:

Show 11 property paths
Object Type Path to TextGlowColor
MapBubble
.TitleOptions.TextGlowColor
MapDot
.TitleOptions.TextGlowColor
MapEllipse
.TitleOptions.TextGlowColor
MapLine
.TitleOptions.TextGlowColor
MapPath
.TitleOptions.TextGlowColor
MapPathBase<T>
.TitleOptions.TextGlowColor
MapPie
.TitleOptions.TextGlowColor
MapPolygon
.TitleOptions.TextGlowColor
MapPolyline
.TitleOptions.TextGlowColor
MapRectangle
.TitleOptions.TextGlowColor
MapShape
.TitleOptions.TextGlowColor

Remarks

The following image explains the text color and the text glow color.

ColorAndGlowColor

Example

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." });
    storage.Items.Add(dot);

    mapControl1.Layers.Add(layer);
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TextGlowColor property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also